Interface TeamNode
-
- All Superinterfaces:
LinkTeamNode
,LinkTeamOversightNode
,Node
,OfficeFloorTeam
,PropertyConfigurable
- All Known Implementing Classes:
TeamNodeImpl
public interface TeamNode extends LinkTeamNode, LinkTeamOversightNode, OfficeFloorTeam
OfficeFloorTeam
node.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildTeam(OfficeFloorBuilder builder, CompileContext compileContext)
TypeQualification[]
getTypeQualifications()
Obtains theTypeQualification
instances for theOfficeFloorTeam
.void
initialise(java.lang.String teamSourceClassName, TeamSource teamSource)
Initialises theTeamNode
.boolean
isTeamOversight()
Indicates if theTeamOversight
has been linked.OfficeFloorTeamSourceType
loadOfficeFloorTeamSourceType(CompileContext compileContext)
Loads theOfficeFloorTeamSourceType
.TeamType
loadTeamType()
Loads theTeamType
for theTeamSource
.boolean
sourceTeam(TeamVisitor teamVisitor, CompileContext compileContext)
Sources theTeam
.-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkTeamNode
getLinkedTeamNode, linkTeamNode
-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkTeamOversightNode
getLinkedTeamOversightNode, linkTeamOversightNode
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialised
-
Methods inherited from interface net.officefloor.compile.spi.officefloor.OfficeFloorTeam
addTypeQualification, getOfficeFloorTeamName, setTeamSize
-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Node
type.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(java.lang.String teamSourceClassName, TeamSource teamSource)
Initialises theTeamNode
.- Parameters:
teamSourceClassName
- Class name of theTeamSource
.teamSource
- Optional instantiatedTeamSource
. May benull
.
-
sourceTeam
boolean sourceTeam(TeamVisitor teamVisitor, CompileContext compileContext)
Sources theTeam
.- Parameters:
teamVisitor
-TeamVisitor
.compileContext
-CompileContext
.- Returns:
true
if successfully sourced theTeam
.false
if failed to source, with issues reported to theCompilerIssues
.
-
isTeamOversight
boolean isTeamOversight()
Indicates if theTeamOversight
has been linked.- Returns:
true
ifTeamOversight
linked.
-
loadTeamType
TeamType loadTeamType()
Loads theTeamType
for theTeamSource
.- Returns:
TeamType
ornull
with issues reported to theCompilerIssues
.
-
loadOfficeFloorTeamSourceType
OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(CompileContext compileContext)
Loads theOfficeFloorTeamSourceType
.- Parameters:
compileContext
-CompileContext
.- Returns:
OfficeFloorTeamSourceType
ornull
with issues reported to theCompilerIssues
.
-
getTypeQualifications
TypeQualification[] getTypeQualifications()
Obtains theTypeQualification
instances for theOfficeFloorTeam
.- Returns:
TypeQualification
instances for theOfficeFloorTeam
.
-
buildTeam
void buildTeam(OfficeFloorBuilder builder, CompileContext compileContext)
- Parameters:
builder
-OfficeFloorBuilder
.compileContext
-CompileContext
.
-
-