Interface ExecutiveNode
-
- All Superinterfaces:
Node
,OfficeFloorExecutive
,PropertyConfigurable
- All Known Implementing Classes:
ExecutiveNodeImpl
public interface ExecutiveNode extends Node, OfficeFloorExecutive
OfficeFloorExecutive
node.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildExecutive(OfficeFloorBuilder builder, CompileContext compileContext)
Builds theExecutive
for thisExecutiveNode
.void
initialise(java.lang.String executiveSourceClassName, ExecutiveSource executiveSource)
Initialises theExecutiveNode
.ExecutiveType
loadExecutiveType()
Loads theExecutiveType
for theExecutiveSource
.boolean
sourceExecutive(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
Node
type.- 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 theExecutiveType
for theExecutiveSource
.- Returns:
ExecutiveType
ornull
with issues reported to theCompilerIssues
.
-
sourceExecutive
boolean sourceExecutive(CompileContext compileContext)
Sources theExecutive
.- Parameters:
compileContext
-CompileContext
.- Returns:
true
if successfully sourced. Otherwise,false
with issues reported to theCompilerIssues
.
-
buildExecutive
void buildExecutive(OfficeFloorBuilder builder, CompileContext compileContext)
Builds theExecutive
for thisExecutiveNode
.- Parameters:
builder
-OfficeFloorBuilder
.compileContext
-CompileContext
.
-
-