Interface GovernanceNode
-
- All Superinterfaces:
LinkTeamNode,Node,OfficeGovernance,OfficeResponsibility,PropertyConfigurable
- All Known Implementing Classes:
GovernanceNodeImpl
public interface GovernanceNode extends LinkTeamNode, OfficeGovernance
OfficeGovernancenode.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidautoWireExtensions(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(java.lang.String governanceSourceClassName, GovernanceSource<?,?> governanceSource)Initialises theGovernanceNode.booleanisAutoWireGovernance()Indicates 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, 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
Nodetype.- 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 instantiatedGovernanceSourceto use. May benull.
-
loadGovernanceType
GovernanceType<?,?> loadGovernanceType(boolean isLoadingType)
Loads theGovernanceTypefor thisGovernanceNode.- Parameters:
isLoadingType- Indicates using to load type.- Returns:
GovernanceTypefor thisGovernanceNodeornullif fails to load theGovernanceType.
-
sourceGovernance
boolean sourceGovernance(CompileContext compileContext)
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
void autoWireTeam(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)
Auto wires theTeamfor thisGovernance.- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
buildGovernance
void buildGovernance(OfficeBuilder officeBuilder, CompileContext compileContext)
Builds thisGovernanceinto theOfficeBuilder.- Parameters:
officeBuilder-OfficeBuilder.compileContext-CompileContext.
-
-