Interface TeamNode
- All Superinterfaces:
LinkTeamNode,Node,OfficeFloorTeam,PropertyConfigurable
- All Known Implementing Classes:
TeamNodeImpl
OfficeFloorTeam node.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildTeam(OfficeFloorBuilder builder, CompileContext compileContext) Obtains theTypeQualificationinstances for theOfficeFloorTeam.voidinitialise(String teamSourceClassName, TeamSource teamSource) Initialises theTeamNode.loadOfficeFloorTeamSourceType(CompileContext compileContext) Loads theOfficeFloorTeamSourceType.Loads theTeamTypefor theTeamSource.booleansourceTeam(TeamVisitor teamVisitor, CompileContext compileContext) Sources theTeam.Methods inherited from interface net.officefloor.compile.internal.structure.LinkTeamNode
getLinkedTeamNode, linkTeamNodeMethods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialisedMethods inherited from interface net.officefloor.compile.spi.officefloor.OfficeFloorTeam
addTypeQualification, getOfficeFloorTeamName, requestNoTeamOversight, setTeamSizeMethods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
Field Details
-
TYPE
Nodetype.- See Also:
-
-
Method Details
-
initialise
Initialises theTeamNode.- Parameters:
teamSourceClassName- Class name of theTeamSource.teamSource- Optional instantiatedTeamSource. May benull.
-
sourceTeam
Sources theTeam.- Parameters:
teamVisitor-TeamVisitor.compileContext-CompileContext.- Returns:
trueif successfully sourced theTeam.falseif failed to source, with issues reported to theCompilerIssues.
-
loadTeamType
TeamType loadTeamType()Loads theTeamTypefor theTeamSource.- Returns:
TeamTypeornullwith issues reported to theCompilerIssues.
-
loadOfficeFloorTeamSourceType
Loads theOfficeFloorTeamSourceType.- Parameters:
compileContext-CompileContext.- Returns:
OfficeFloorTeamSourceTypeornullwith issues reported to theCompilerIssues.
-
getTypeQualifications
TypeQualification[] getTypeQualifications()Obtains theTypeQualificationinstances for theOfficeFloorTeam.- Returns:
TypeQualificationinstances for theOfficeFloorTeam.
-
buildTeam
- Parameters:
builder-OfficeFloorBuilder.compileContext-CompileContext.
-