Interface ExecutiveNode
-
- All Superinterfaces:
Node,OfficeFloorExecutive,PropertyConfigurable
- All Known Implementing Classes:
ExecutiveNodeImpl
public interface ExecutiveNode extends Node, OfficeFloorExecutive
OfficeFloorExecutivenode.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuildExecutive(OfficeFloorBuilder builder, CompileContext compileContext)Builds theExecutivefor thisExecutiveNode.voidinitialise(java.lang.String executiveSourceClassName, ExecutiveSource executiveSource)Initialises theExecutiveNode.ExecutiveTypeloadExecutiveType()Loads theExecutiveTypefor theExecutiveSource.booleansourceExecutive(CompileContext compileContext)Sources theExecutive.-
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.OfficeFloorExecutive
getOfficeFloorExecutionStrategy, getOfficeFloorExecutiveName
-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Nodetype.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(java.lang.String executiveSourceClassName, ExecutiveSource executiveSource)Initialises theExecutiveNode.- Parameters:
executiveSourceClassName- Class name of theExecutiveSource.executiveSource- Optional instantiatedExecutiveSource. May benull.
-
loadExecutiveType
ExecutiveType loadExecutiveType()
Loads theExecutiveTypefor theExecutiveSource.- Returns:
ExecutiveTypeornullwith issues reported to theCompilerIssues.
-
sourceExecutive
boolean sourceExecutive(CompileContext compileContext)
Sources theExecutive.- Parameters:
compileContext-CompileContext.- Returns:
trueif successfully sourced. Otherwise,falsewith issues reported to theCompilerIssues.
-
buildExecutive
void buildExecutive(OfficeFloorBuilder builder, CompileContext compileContext)
Builds theExecutivefor thisExecutiveNode.- Parameters:
builder-OfficeFloorBuilder.compileContext-CompileContext.
-
-