Interface SectionNode
- 
- All Superinterfaces:
- ManagedFunctionRegistry,- ManagedObjectRegistry,- Node,- OfficeSection,- OfficeSectionTransformerContext,- OfficeSubSection,- PropertyConfigurable,- SectionDesigner,- SourceIssues,- SubSection
 - All Known Implementing Classes:
- SectionNodeImpl
 
 public interface SectionNode extends Node, ManagedObjectRegistry, ManagedFunctionRegistry, OfficeSectionTransformerContext, SectionDesigner, SubSection, OfficeSection Node within the hierarchy ofOfficeSectioninstances.- Author:
- Daniel Sagenschneider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidautoWireObjects(AutoWirer<LinkObjectNode> autoWirer, CompileContext compileContext)Auto-wires theSectionObjectNodeinstances that are unlinked.voidautoWireTeams(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)Auto-wires theSectionFunctioninstances to a possible responsibleTeam.voidbuildSection(OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext)Builds thisOfficeSectionfor thisSectionNode.DeployedOfficeInputgetDeployedOfficeInput(java.lang.String inputName)Obtains theDeployedOfficeInput.GovernanceNode[]getGoverningGovernances()OfficeNodegetOfficeNode()Obtains theOfficeNodecontaining thisSectionNode.SectionNodegetParentSectionNode()Obtains the parentSectionNodecontaining thisSectionNode.SectionOutputNodegetSectionOutputNode(java.lang.String outputName)Obtains the possibleSectionOutputNode.java.lang.StringgetSectionQualifiedName(java.lang.String simpleName)Obtains theSectionNodequalified name within theOfficeNode.SectionNodegetSuperSection()Obtains the parentSectionNodeto thisSectionNode.voidinitialise(java.lang.String sectionSourceClassName, SectionSource sectionSource, java.lang.String sectionLocation)Initialises thisSectionNode.voidloadAutoWireExtensionTargets(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext)Loads theAutoWireextension targets for theOfficeSectionManagedObjectextension targets..voidloadExternalServicing(Office office)Loads theFunctionManagerinstances to externally trigger thisSectionNode.voidloadManagedFunctionNodes(java.util.Map<java.lang.String,ManagedFunctionNode> managedFunctionNodes)Loads theManagedFunctionNodeinstances.OfficeAvailableSectionInputType[]loadOfficeAvailableSectionInputTypes(CompileContext compileContext)Loads theOfficeAvailableSectionInputTypeinstances.OfficeSectionTypeloadOfficeSectionType(CompileContext compileContext)Loads theOfficeSectionType.OfficeSubSectionTypeloadOfficeSubSectionType(OfficeSubSectionType parentSectionType, CompileContext compileContext)Loads theOfficeSubSectionType.SectionTypeloadSectionType(CompileContext compileContext)Loads theSectionType.booleanrunExecutionExplorers(java.util.Map<java.lang.String,ManagedFunctionNode> managedFunctions, CompileContext compileContext)Runs theExecutionExplorerinstances.booleansourceInheritance(CompileContext compileContext)Sources the inheritance of theSectionNode.booleansourceSection(ManagedFunctionVisitor managedFunctionVisitor, ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext, boolean isLoadingType)Sources the section into thisSectionNode.booleansourceSectionTree(ManagedFunctionVisitor managedFunctionVisitor, ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext, boolean isLoadingType)Sources thisSectionNodeand all its descendantNodeinstances recursively.- 
Methods inherited from interface net.officefloor.compile.internal.structure.ManagedFunctionRegistryaddManagedFunctionNode
 - 
Methods inherited from interface net.officefloor.compile.internal.structure.ManagedObjectRegistryaddManagedObjectNode, getManagedObjectNode
 - 
Methods inherited from interface net.officefloor.compile.internal.structure.NodegetChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialised
 - 
Methods inherited from interface net.officefloor.compile.spi.office.OfficeSectiongetOfficeSectionInput, getOfficeSectionObject, getOfficeSectionOutput, setSuperOfficeSection
 - 
Methods inherited from interface net.officefloor.compile.spi.office.OfficeSectionTransformerContextcreatePropertyList, getOfficeSectionName, getSectionLocation, getSectionProperties, getSectionSourceClassName, setTransformedOfficeSection, setTransformedOfficeSection
 - 
Methods inherited from interface net.officefloor.compile.spi.office.OfficeSubSectionaddGovernance, getOfficeSectionFunction, getOfficeSectionManagedObject, getOfficeSectionManagedObjectSource, getOfficeSectionName, getOfficeSubSection
 - 
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurableaddProperty
 - 
Methods inherited from interface net.officefloor.compile.spi.section.SectionDesigneraddManagedObjectPool, addManagedObjectPool, addSectionFunctionNamespace, addSectionFunctionNamespace, addSectionInput, addSectionManagedObjectSource, addSectionManagedObjectSource, addSectionObject, addSectionOutput, addSubSection, addSubSection, link, link, link, link
 - 
Methods inherited from interface net.officefloor.compile.issues.SourceIssuesaddIssue, addIssue
 - 
Methods inherited from interface net.officefloor.compile.spi.section.SubSectiongetSubSectionInput, getSubSectionName, getSubSectionObject, getSubSectionOutput
 
- 
 
- 
- 
- 
Field Detail- 
TYPEstatic final java.lang.String TYPE Nodetype.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initialisevoid initialise(java.lang.String sectionSourceClassName, SectionSource sectionSource, java.lang.String sectionLocation)Initialises thisSectionNode.- Parameters:
- sectionSourceClassName-- SectionSourceclass name.
- sectionSource- Optional instantiated- SectionSource. May be- null.
- sectionLocation- Location of the- OfficeSection.
 
 - 
sourceSectionboolean sourceSection(ManagedFunctionVisitor managedFunctionVisitor, ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext, boolean isLoadingType) Sources the section into this SectionNode.This will only source the top level OfficeSection.- Parameters:
- managedFunctionVisitor-- ManagedFunctionVisitor.
- managedObjectSourceVisitor-- ManagedObjectSourceVisitor.
- compileContext-- CompileContext.
- isLoadingType- Indicates if used for loading type.
- Returns:
- trueif successfully sourced. Otherwise- falsewith issue reported to the- CompilerIssues.
 
 - 
sourceSectionTreeboolean sourceSectionTree(ManagedFunctionVisitor managedFunctionVisitor, ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext, boolean isLoadingType) Sources thisSectionNodeand all its descendantNodeinstances recursively.- Parameters:
- managedFunctionVisitor-- ManagedFunctionVisitor.
- managedObjectSourceVisitor-- ManagedObjectSourceVisitor.
- compileContext-- CompileContext.
- isLoadingType- Indicates if used for loading type.
- Returns:
- trueif successfully sourced. Otherwise- falsewith issue reported to the- CompilerIssues.
 
 - 
sourceInheritanceboolean sourceInheritance(CompileContext compileContext) Sources the inheritance of theSectionNode.- Parameters:
- compileContext-- CompileContext.
- Returns:
- trueif successfully sourced. Otherwise- falsewith issue reported to the- CompilerIssues.
 
 - 
getSuperSectionSectionNode getSuperSection() Obtains the parentSectionNodeto thisSectionNode.- Returns:
- Parent SectionNodeto thisSectionNode.
 
 - 
getSectionOutputNodeSectionOutputNode getSectionOutputNode(java.lang.String outputName) Obtains the possibleSectionOutputNode.- Parameters:
- outputName- Name of the- SectionOutputNode.
- Returns:
- SectionOutputNodeor- nullif no- SectionOutputNodeby name on the- SectionNode.
 
 - 
loadSectionTypeSectionType loadSectionType(CompileContext compileContext) Loads theSectionType.- Parameters:
- compileContext-- CompileContext.
- Returns:
- SectionTypeor- nullif issue loading with issue reported to the- CompilerIssues.
 
 - 
loadOfficeSectionTypeOfficeSectionType loadOfficeSectionType(CompileContext compileContext) Loads theOfficeSectionType.- Parameters:
- compileContext-- CompileContext.
- Returns:
- OfficeSectionTypeor- nullif issue loading with issue reported to the- CompilerIssues.
 
 - 
loadOfficeSubSectionTypeOfficeSubSectionType loadOfficeSubSectionType(OfficeSubSectionType parentSectionType, CompileContext compileContext) Loads theOfficeSubSectionType.- Parameters:
- parentSectionType- Parent- OfficeSubSectionType.
- compileContext-- CompileContext.
- Returns:
- OfficeSubSectionTypeor- nullif issue loading with issue reported to the- CompilerIssues.
 
 - 
loadOfficeAvailableSectionInputTypesOfficeAvailableSectionInputType[] loadOfficeAvailableSectionInputTypes(CompileContext compileContext) Loads theOfficeAvailableSectionInputTypeinstances.- Parameters:
- compileContext-- CompileContext.
- Returns:
- OfficeAvailableSectionInputTypeinstances or- nullwith issues reported to the- CompilerIssues.
 
 - 
getDeployedOfficeInputDeployedOfficeInput getDeployedOfficeInput(java.lang.String inputName) Obtains theDeployedOfficeInput.- Parameters:
- inputName- Input name as per the- OfficeAvailableSectionInputType.
- Returns:
- DeployedOfficeInput.
 
 - 
getGoverningGovernancesGovernanceNode[] getGoverningGovernances() Obtains the GovernanceNodeinstances providingGovernanceover thisSectionNode.This is list comprised of the: - GovernanceNodeassigned to this particular- SectionNode
- GovernanceNodeassigned to any parent- SectionNode
 - Returns:
- GovernanceNodeinstances providing- Governanceover this- SectionNode.
 
 - 
getParentSectionNodeSectionNode getParentSectionNode() Obtains the parentSectionNodecontaining thisSectionNode.- Returns:
- Parent SectionNodeornullif thisSectionNodeis the top levelSectionNode(in other words aOfficeSection).
 
 - 
getOfficeNodeOfficeNode getOfficeNode() Obtains theOfficeNodecontaining thisSectionNode.- Returns:
- OfficeNodecontaining this- SectionNode.
 
 - 
getSectionQualifiedNamejava.lang.String getSectionQualifiedName(java.lang.String simpleName) Obtains theSectionNodequalified name within theOfficeNode.- Parameters:
- simpleName- Simple name to qualify with the- SectionNodename space.
- Returns:
- SectionNodequalified name.
 
 - 
loadAutoWireExtensionTargetsvoid loadAutoWireExtensionTargets(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext) Loads theAutoWireextension targets for theOfficeSectionManagedObjectextension targets..- Parameters:
- autoWirer-- AutoWirerto be loaded with the- OfficeSectionManagedObjectextension targets.
- compileContext-- CompileContext.
 
 - 
autoWireObjectsvoid autoWireObjects(AutoWirer<LinkObjectNode> autoWirer, CompileContext compileContext) Auto-wires theSectionObjectNodeinstances that are unlinked.- Parameters:
- autoWirer-- AutoWirer.
- compileContext-- CompileContext.
 
 - 
autoWireTeamsvoid autoWireTeams(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext) Auto-wires theSectionFunctioninstances to a possible responsibleTeam.- Parameters:
- autoWirer-- AutoWirer.
- compileContext-- CompileContext.
 
 - 
loadManagedFunctionNodesvoid loadManagedFunctionNodes(java.util.Map<java.lang.String,ManagedFunctionNode> managedFunctionNodes) Loads theManagedFunctionNodeinstances.- Parameters:
- managedFunctionNodes-- Mapto be loaded with the- ManagedFunctionNodeinstances by their qualified name.
 
 - 
runExecutionExplorersboolean runExecutionExplorers(java.util.Map<java.lang.String,ManagedFunctionNode> managedFunctions, CompileContext compileContext) Runs theExecutionExplorerinstances.- Parameters:
- managedFunctions-- ManagedFunctionNodeinstances by their qualified name.
- compileContext-- CompileContext.
- Returns:
- trueif successfully explored execution.
 
 - 
buildSectionvoid buildSection(OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext) Builds thisOfficeSectionfor thisSectionNode.- Parameters:
- officeBuilder-- OfficeBuilderof the- Officecontaining this- SectionNode.
- officeBindings-- OfficeBindingsof the- Officecontaining this- SectionNode.
- compileContext-- CompileContext.
 
 - 
loadExternalServicingvoid loadExternalServicing(Office office) throws UnknownFunctionException Loads theFunctionManagerinstances to externally trigger thisSectionNode.- Parameters:
- office-- Officecontaining this- SectionNode.
- Throws:
- UnknownFunctionException-- UnknownFunctionException.
 
 
- 
 
-