Interface GovernanceNode
- All Superinterfaces:
LinkTeamNode,Node,OfficeGovernance,OfficeResponsibility,PropertyConfigurable
- All Known Implementing Classes:
GovernanceNodeImpl
OfficeGovernance node.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidautoWireExtensions(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext) Auto wires theManagedObjectExtensionNodefor thisGovernance.voidautoWireTeam(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext) Auto wires theTeamfor thisGovernance.voidbuildGovernance(OfficeBuilder officeBuilder, CompileContext compileContext) Builds thisGovernanceinto theOfficeBuilder.voidinitialise(String governanceSourceClassName, GovernanceSource<?, ?> governanceSource) Initialises theGovernanceNode.booleanIndicates whether to auto-wireManagedObjectExtensionNodeinstances forGovernance.GovernanceType<?,?> loadGovernanceType(boolean isLoadingType) Loads theGovernanceTypefor thisGovernanceNode.booleansourceGovernance(CompileContext compileContext) Sources theGovernance.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.office.OfficeGovernance
enableAutoWireExtensions, getOfficeGovernanceName, governManagedObjectMethods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
Field Details
-
TYPE
Nodetype.- See Also:
-
-
Method Details
-
initialise
Initialises theGovernanceNode.- Parameters:
governanceSourceClassName- Class name of theGovernanceSource.governanceSource- Optional instantiatedGovernanceSourceto use. May benull.
-
loadGovernanceType
Loads theGovernanceTypefor thisGovernanceNode.- Parameters:
isLoadingType- Indicates using to load type.- Returns:
GovernanceTypefor thisGovernanceNodeornullif fails to load theGovernanceType.
-
sourceGovernance
Sources theGovernance.- Parameters:
compileContext-CompileContext.- Returns:
trueif successfully sourced. Otherwise,falsewith issues reported to theCompilerIssues.
-
isAutoWireGovernance
boolean isAutoWireGovernance()Indicates whether to auto-wireManagedObjectExtensionNodeinstances forGovernance.- Returns:
trueto auto-wire.
-
autoWireExtensions
void autoWireExtensions(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext) Auto wires theManagedObjectExtensionNodefor thisGovernance.- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
autoWireTeam
Auto wires theTeamfor thisGovernance.- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
buildGovernance
Builds thisGovernanceinto theOfficeBuilder.- Parameters:
officeBuilder-OfficeBuilder.compileContext-CompileContext.
-