Interface GovernanceNode
-
- All Superinterfaces:
LinkTeamNode
,Node
,OfficeGovernance
,OfficeResponsibility
,PropertyConfigurable
- All Known Implementing Classes:
GovernanceNodeImpl
public interface GovernanceNode extends LinkTeamNode, OfficeGovernance
OfficeGovernance
node.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
autoWireExtensions(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext)
Auto wires theManagedObjectExtensionNode
for thisGovernance
.void
autoWireTeam(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)
Auto wires theTeam
for thisGovernance
.void
buildGovernance(OfficeBuilder officeBuilder, CompileContext compileContext)
Builds thisGovernance
into theOfficeBuilder
.void
initialise(java.lang.String governanceSourceClassName, GovernanceSource<?,?> governanceSource)
Initialises theGovernanceNode
.boolean
isAutoWireGovernance()
Indicates whether to auto-wireManagedObjectExtensionNode
instances forGovernance
.GovernanceType<?,?>
loadGovernanceType(boolean isLoadingType)
Loads theGovernanceType
for thisGovernanceNode
.boolean
sourceGovernance(CompileContext compileContext)
Sources theGovernance
.-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkTeamNode
getLinkedTeamNode, linkTeamNode
-
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.office.OfficeGovernance
enableAutoWireExtensions, getOfficeGovernanceName, governManagedObject
-
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 governanceSourceClassName, GovernanceSource<?,?> governanceSource)
Initialises theGovernanceNode
.- Parameters:
governanceSourceClassName
- Class name of theGovernanceSource
.governanceSource
- Optional instantiatedGovernanceSource
to use. May benull
.
-
loadGovernanceType
GovernanceType<?,?> loadGovernanceType(boolean isLoadingType)
Loads theGovernanceType
for thisGovernanceNode
.- Parameters:
isLoadingType
- Indicates using to load type.- Returns:
GovernanceType
for thisGovernanceNode
ornull
if fails to load theGovernanceType
.
-
sourceGovernance
boolean sourceGovernance(CompileContext compileContext)
Sources theGovernance
.- Parameters:
compileContext
-CompileContext
.- Returns:
true
if successfully sourced. Otherwise,false
with issues reported to theCompilerIssues
.
-
isAutoWireGovernance
boolean isAutoWireGovernance()
Indicates whether to auto-wireManagedObjectExtensionNode
instances forGovernance
.- Returns:
true
to auto-wire.
-
autoWireExtensions
void autoWireExtensions(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext)
Auto wires theManagedObjectExtensionNode
for thisGovernance
.- Parameters:
autoWirer
-AutoWirer
.compileContext
-CompileContext
.
-
autoWireTeam
void autoWireTeam(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)
Auto wires theTeam
for thisGovernance
.- Parameters:
autoWirer
-AutoWirer
.compileContext
-CompileContext
.
-
buildGovernance
void buildGovernance(OfficeBuilder officeBuilder, CompileContext compileContext)
Builds thisGovernance
into theOfficeBuilder
.- Parameters:
officeBuilder
-OfficeBuilder
.compileContext
-CompileContext
.
-
-