Class OfficeNodeImpl
- All Implemented Interfaces:
LinkOfficeNode,ManagedFunctionVisitor,ManagedObjectRegistry,Node,OfficeNode,OfficeTeamRegistry,OverrideProperties,SourceIssues,PropertyConfigurable,OfficeArchitect,DeployedOffice
OfficeNode implementation.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.compile.internal.structure.OfficeNode
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionOfficeNodeImpl(String officeName, OfficeFloorNode officeFloor, NodeContext context) Initialise with all parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalProfile(String profile) Adds an additional profile specific to theDeployedOffice.Allows the source to add an issue.Allows the source to add an issue along with its cause.voidaddManagedFunctionAugmentor(ManagedFunctionAugmentor managedFunctionAugmentor) Adds aManagedFunctionAugmentor.addManagedObjectNode(String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode) Adds an initialisedManagedObjectNodeto the registry.addManagedObjectPool(String managedObjectPoolName, String managedObjectPoolSourceClassName) Adds anOfficeManagedObjectPool.addManagedObjectPool(String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource) Adds anOfficeManagedObjectPool.addManagedObjectSource(String managedObjectSourceName, SuppliedManagedObjectSourceNode suppliedManagedObject) Adds aOfficeManagedObjectSourcesupplied from anOfficeSupplier.addOfficeAdministration(String administrationName, String administrationSourceClassName) Adds anOfficeAdministration.addOfficeAdministration(String administrationName, AdministrationSource<?, ?, ?> administrationSource) Adds anOfficeAdministration.voidaddOfficeCompletionExplorer(CompletionExplorer completionExplorer) Adds aCompletionExplorerto be notified of completion of exploring the execution tree.addOfficeEscalation(String escalationTypeName) Adds anOfficeEscalation.voidaddOfficeEscalationExplorer(EscalationExplorer escalationExplorer) Adds anEscalationExplorerfor the execution tree from the addedOfficeEscalationinstances.addOfficeGovernance(String governanceName, String governanceSourceClassName) Adds aOfficeGovernance.addOfficeGovernance(String governanceName, GovernanceSource<?, ?> governanceSource) Adds anOfficeGovernance.addOfficeInput(String inputName, String parameterType) Adds aOfficeInput.addOfficeManagedObjectSource(String managedObjectSourceName, String managedObjectSourceClassName) Adds aOfficeManagedObjectSource.addOfficeManagedObjectSource(String managedObjectSourceName, ManagedObjectSource<?, ?> managedObjectSource) Adds aOfficeManagedObjectSource.addOfficeObject(String officeManagedObjectName, String objectType) Adds anOfficeObject.addOfficeOutput(String outputName, String argumentType) Adds aOfficeOutput.addOfficeSection(String sectionName, String sectionSourceClassName, String sectionLocation) Adds anOfficeSection.addOfficeSection(String sectionName, SectionSource sectionSource, String sectionLocation) Adds anOfficeSection.voidaddOfficeSectionTransformer(OfficeSectionTransformer transformer) addOfficeStart(String startName) Adds anOfficeStart.addOfficeTeam(String officeTeamName) Adds anOfficeTeam.voidaddOverrideProperty(String name, String value) Adds an overrideProperty.voidaddProperty(String name, String value) Adds aPropertyto configure the item.addSupplier(String supplierName, String supplierSourceClassName) Adds anOfficeSupplier.addSupplier(String supplierName, SupplierSource supplierSource) Adds anOfficeSupplier.voidautoWireObjects(AutoWirer<LinkObjectNode> autoWirer, CompileContext compileContext) Auto-wires theOfficeObjectNodeinstances that are unlinked.voidautoWireTeams(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext) Auto-wires theOfficeTeamNodeinstances that are unlinked.buildOffice(OfficeFloorBuilder builder, CompileContext compileContext, Profiler profiler) Builds theOfficefor thisOfficeNode.createOfficeTeam(String officeTeamName) Creates theOfficeTeamNode.voidFlags to attempt to auto wire any non-configured object links.voidFlags to attempt to auto wire any non-configuredTeamlinks.String[]Obtains the additional profiles.getAvailableTypes(CompileContext compileContext) Obtains theAvailableTypeinstances.Node[]Obtains the childNodeinstances.getDeployedOfficeInput(String sectionName, String inputName) Obtains theDeployedOfficeInputfor theOfficeAvailableSectionInputType.Obtains the name of thisDeployedOffice.getDeployedOfficeObject(String officeManagedObjectName) Obtains theOfficeObjectfor theOfficeManagedObjectType.getDeployedOfficeTeam(String officeTeamName) Obtains theOfficeTeamfor theOfficeTeamType.Obtains theInternalSupplierinstances for theOffice.Obtains theLinkOfficeNodelinked to thisLinkOfficeNode.Obtains the location of theNode.getManagedObjectNode(String managedObjectName) Obtains theManagedObjectNodefrom the registry.Obtains the name of theNode.Obtains theNodetype.Obtains theOfficeFloorNodecontaining thisOfficeNode.getOfficeSection(String sectionName) Obtains theOfficeSection.Obtains theOfficeTeamNodeinstances.Obtains the overridePropertyList.voidinitialise(String officeSourceClassName, OfficeSource officeSource, String officeLocation) Initialises theOfficeNode.booleanIndicates if theNodehas been initialised.voidlink(OfficeDependencyRequireNode dependencyRequiredNode, OfficeDependencyObjectNode dependencyObjectNode) Links theOfficeDependencyRequireNodeto be fulfilled by theOfficeDependencyObjectNode.voidlink(OfficeFlowSourceNode flowSourceNode, OfficeFlowSinkNode flowSinkNode) Links theOfficeFlowSourceNodeto be undertaken by theOfficeFlowSinkNode.voidlink(OfficeManagedObjectSource managedObjectSource, OfficeManagedObjectPool managedObjectPool) Links theOfficeManagedObjectSourceto be pooled by theOfficeManagedObjectPool.voidlink(OfficeResponsibility responsibility, OfficeTeam officeTeam) Links theOfficeResponsibilityto theOfficeTeam.booleanlinkOfficeNode(LinkOfficeNode node) Links the inputLinkOfficeNodeto thisLinkOfficeNode.voidloadExternalServicing(Office office) Loads theFunctionManagerinstances to externally trigger thisOfficeNode.loadOfficeType(CompileContext compileContext) Loads theOfficeType.booleanrunExecutionExplorers(CompileContext compileContext) Runs theExecutionExplorerinstances.booleansourceOfficeTree(ManagedObjectSourceVisitor managedObjectSourceVisitor, AutoWirerVisitor autoWirerVisitor, CompileContext compileContext) booleansourceOfficeWithTopLevelSections(ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext) voidstartAfter(OfficeManagedObjectSource managedObjectSource, String managedObjectTypeName) Flags anOfficeManagedObjectSourceto be started afterManagedObjectSourceinstances providing the type.voidstartAfter(OfficeManagedObjectSource startLater, OfficeManagedObjectSource startEarlier) Flags anOfficeManagedObjectSourceto be started after anotherOfficeManagedObjectSource.voidstartBefore(OfficeManagedObjectSource managedObjectSource, String managedObjectTypeName) Flags anOfficeManagedObjectSourceto be started beforeManagedObjectSourceinstances providing the type.voidstartBefore(OfficeManagedObjectSource startEarlier, OfficeManagedObjectSource startLater) Flags anOfficeManagedObjectSourceto be started before anotherOfficeManagedObjectSource.voidvisit(ManagedFunctionType<?, ?> managedFunctionType, ManagedFunctionNode managedFunctionNode, CompileContext compileContext) Visits theManagedFunctionNode.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.officefloor.compile.internal.structure.Node
getQualifiedName, getQualifiedName
-
Constructor Details
-
OfficeNodeImpl
Initialise with all parameters.- Parameters:
officeName- Name of theDeployedOffice.officeFloor- ParentOfficeFloorNode.context-NodeContext.
-
-
Method Details
-
getNodeName
Description copied from interface:NodeObtains the name of theNode.- Specified by:
getNodeNamein interfaceNode- Returns:
- Name of the
Node.
-
getNodeType
Description copied from interface:NodeObtains theNodetype.- Specified by:
getNodeTypein interfaceNode- Returns:
Nodetype.
-
getLocation
Description copied from interface:NodeObtains the location of theNode.- Specified by:
getLocationin interfaceNode- Returns:
- Location of the
Node. May benullifNodedoes not support a location.
-
getParentNode
Description copied from interface:Node- Specified by:
getParentNodein interfaceNode- Returns:
Nodecontaining thisNode.
-
getChildNodes
Description copied from interface:NodeObtains the childNodeinstances.- Specified by:
getChildNodesin interfaceNode- Returns:
- Child
Nodeinstances.
-
isInitialised
public boolean isInitialised()Description copied from interface:NodeIndicates if theNodehas been initialised.Nodeinstances should only be initialised once. Initialising theNodetwice is an issue.- Specified by:
isInitialisedin interfaceNode- Returns:
trueif initialised.
-
initialise
public void initialise(String officeSourceClassName, OfficeSource officeSource, String officeLocation) Description copied from interface:OfficeNodeInitialises theOfficeNode.- Specified by:
initialisein interfaceOfficeNode- Parameters:
officeSourceClassName-OfficeSourceclass name.officeSource- Optional instantiatedOfficeSource. May benull.officeLocation- Location of theOffice.
-
getManagedObjectNode
Description copied from interface:ManagedObjectRegistryObtains the
ManagedObjectNodefrom the registry.The returned
ManagedObjectNodemay or may not be initialised.- Specified by:
getManagedObjectNodein interfaceManagedObjectRegistry- Parameters:
managedObjectName- Name of theManagedObjectNode.- Returns:
ManagedObjectNodefrom the registry.
-
addManagedObjectNode
public ManagedObjectNode addManagedObjectNode(String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode) Description copied from interface:ManagedObjectRegistryAdds an initialised
ManagedObjectNodeto the registry.Should an
ManagedObjectNodealready be added by the name, then an issue is reported to theCompilerIssue.- Specified by:
addManagedObjectNodein interfaceManagedObjectRegistry- Parameters:
managedObjectName- Name of theManagedObjectNode.managedObjectScope-ManagedObjectScope.managedObjectSourceNode-ManagedObjectSourceNodefor theManagedObjectNode.- Returns:
- Initialised
ManagedObjectNodeby the name.
-
getOfficeTeams
Description copied from interface:OfficeTeamRegistryObtains theOfficeTeamNodeinstances.- Specified by:
getOfficeTeamsin interfaceOfficeTeamRegistry- Returns:
OfficeTeamNodeinstances.
-
createOfficeTeam
Description copied from interface:OfficeTeamRegistryCreates the
OfficeTeamNode.The name of the
OfficeTeamNodemay be adjusted to ensure uniqueness.- Specified by:
createOfficeTeamin interfaceOfficeTeamRegistry- Parameters:
officeTeamName-OfficeTeamname.- Returns:
OfficeTeamNode.
-
visit
public void visit(ManagedFunctionType<?, ?> managedFunctionType, ManagedFunctionNode managedFunctionNode, CompileContext compileContext) Description copied from interface:ManagedFunctionVisitorVisits theManagedFunctionNode.- Specified by:
visitin interfaceManagedFunctionVisitor- Parameters:
managedFunctionType-ManagedFunctionType.managedFunctionNode-ManagedFunctionNode.compileContext-CompileContext.
-
getOverridePropertyList
Description copied from interface:OverridePropertiesObtains the overridePropertyList.- Specified by:
getOverridePropertyListin interfaceOverrideProperties- Returns:
- Override
PropertyList.
-
getAdditionalProfiles
Description copied from interface:OfficeNodeObtains the additional profiles.- Specified by:
getAdditionalProfilesin interfaceOfficeNode- Returns:
- Additional profiles.
-
getOfficeFloorNode
Description copied from interface:OfficeNodeObtains theOfficeFloorNodecontaining thisOfficeNode.- Specified by:
getOfficeFloorNodein interfaceOfficeNode- Returns:
OfficeFloorNodecontaining thisOfficeNode.
-
addManagedObjectSource
public OfficeManagedObjectSource addManagedObjectSource(String managedObjectSourceName, SuppliedManagedObjectSourceNode suppliedManagedObject) Description copied from interface:OfficeNodeAdds aOfficeManagedObjectSourcesupplied from anOfficeSupplier.- Specified by:
addManagedObjectSourcein interfaceOfficeNode- Parameters:
managedObjectSourceName- Name of theOfficeManagedObjectSource.suppliedManagedObject-SuppliedManagedObjectSourceNodeto supply theOfficeManagedObjectSource.- Returns:
OfficeManagedObjectSource.
-
sourceOfficeWithTopLevelSections
public boolean sourceOfficeWithTopLevelSections(ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext) Description copied from interface:OfficeNode- Specified by:
sourceOfficeWithTopLevelSectionsin interfaceOfficeNode- Parameters:
managedObjectSourceVisitor-ManagedObjectSourceVisitor.compileContext-CompileContext.- Returns:
trueif successfully sourced. Otherwisefalsewith issue reported to theCompilerIssues.
-
sourceOfficeTree
public boolean sourceOfficeTree(ManagedObjectSourceVisitor managedObjectSourceVisitor, AutoWirerVisitor autoWirerVisitor, CompileContext compileContext) Description copied from interface:OfficeNode- Specified by:
sourceOfficeTreein interfaceOfficeNode- Parameters:
managedObjectSourceVisitor-ManagedObjectSourceVisitor.autoWirerVisitor-AutoWirerVisitor.compileContext-CompileContext.- Returns:
trueif successfully sourced. Otherwisefalsewith issue reported to theCompilerIssues.
-
getAvailableTypes
Description copied from interface:OfficeNodeObtains theAvailableTypeinstances.- Specified by:
getAvailableTypesin interfaceOfficeNode- Parameters:
compileContext-CompileContext.- Returns:
AvailableTypeinstances.
-
loadOfficeType
Description copied from interface:OfficeNodeLoads theOfficeType.- Specified by:
loadOfficeTypein interfaceOfficeNode- Parameters:
compileContext-CompileContext.- Returns:
OfficeTypeornullif issue loading with issue reported to theCompilerIssues.
-
autoWireObjects
Description copied from interface:OfficeNodeAuto-wires theOfficeObjectNodeinstances that are unlinked.- Specified by:
autoWireObjectsin interfaceOfficeNode- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
autoWireTeams
Description copied from interface:OfficeNodeAuto-wires theOfficeTeamNodeinstances that are unlinked.- Specified by:
autoWireTeamsin interfaceOfficeNode- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
runExecutionExplorers
Description copied from interface:OfficeNodeRuns theExecutionExplorerinstances.- Specified by:
runExecutionExplorersin interfaceOfficeNode- Parameters:
compileContext-CompileContext.- Returns:
trueif successfully explored execution.
-
buildOffice
public OfficeBindings buildOffice(OfficeFloorBuilder builder, CompileContext compileContext, Profiler profiler) Description copied from interface:OfficeNodeBuilds theOfficefor thisOfficeNode.- Specified by:
buildOfficein interfaceOfficeNode- Parameters:
builder-OfficeFloorBuilder.compileContext-CompileContext.profiler- OptionalProfiler. May benull.- Returns:
OfficeBuilderfor the builtOffice.
-
loadExternalServicing
Description copied from interface:OfficeNodeLoads theFunctionManagerinstances to externally trigger thisOfficeNode.- Specified by:
loadExternalServicingin interfaceOfficeNode- Parameters:
office-Officefor thisOfficeNode.- Throws:
UnknownFunctionException-UnknownFunctionException.
-
getInternalSuppliers
Description copied from interface:OfficeNodeObtains theInternalSupplierinstances for theOffice.- Specified by:
getInternalSuppliersin interfaceOfficeNode- Returns:
InternalSupplierinstances for theOffice.
-
enableAutoWireObjects
public void enableAutoWireObjects()Description copied from interface:OfficeArchitectFlags to attempt to auto wire any non-configured object links.- Specified by:
enableAutoWireObjectsin interfaceOfficeArchitect
-
enableAutoWireTeams
public void enableAutoWireTeams()Description copied from interface:OfficeArchitectFlags to attempt to auto wire any non-configuredTeamlinks.- Specified by:
enableAutoWireTeamsin interfaceOfficeArchitect
-
addOfficeObject
Description copied from interface:OfficeArchitectAdds anOfficeObject.- Specified by:
addOfficeObjectin interfaceOfficeArchitect- Parameters:
officeManagedObjectName- Name of theOfficeObject.objectType- Object type.- Returns:
- Added
OfficeObject.
-
addOfficeInput
Description copied from interface:OfficeArchitectAdds aOfficeInput.- Specified by:
addOfficeInputin interfaceOfficeArchitect- Parameters:
inputName- Name of theOfficeInput.parameterType- Fully qualified type name of the parameter to thisOfficeInput.- Returns:
- Added
OfficeInput.
-
addOfficeOutput
Description copied from interface:OfficeArchitectAdds aOfficeOutput.- Specified by:
addOfficeOutputin interfaceOfficeArchitect- Parameters:
outputName- Name of theOfficeOutput.argumentType- Fully qualified type name of the argument from thisOfficeOutput.- Returns:
- Added
OfficeOutput.
-
addOfficeTeam
Description copied from interface:OfficeArchitectAdds anOfficeTeam.- Specified by:
addOfficeTeamin interfaceOfficeArchitect- Parameters:
officeTeamName- Name of theOfficeTeam.- Returns:
- Added
OfficeTeam.
-
addOfficeSection
public OfficeSection addOfficeSection(String sectionName, String sectionSourceClassName, String sectionLocation) Description copied from interface:OfficeArchitectAdds anOfficeSection.- Specified by:
addOfficeSectionin interfaceOfficeArchitect- Parameters:
sectionName- Name of theOfficeSection.sectionSourceClassName- Fully qualified class name of theSectionSource.sectionLocation- Location of theOfficeSection.- Returns:
- Added
OfficeSection.
-
addOfficeSection
public OfficeSection addOfficeSection(String sectionName, SectionSource sectionSource, String sectionLocation) Description copied from interface:OfficeArchitectAdds anOfficeSection.- Specified by:
addOfficeSectionin interfaceOfficeArchitect- Parameters:
sectionName- Name of theOfficeSection.sectionSource-SectionSourceinstance to use.sectionLocation- Location of theOfficeSection.- Returns:
- Added
OfficeSection.
-
getOfficeSection
Description copied from interface:OfficeArchitectObtains theOfficeSection.- Specified by:
getOfficeSectionin interfaceOfficeArchitect- Parameters:
sectionName- Name of theOfficeSection.- Returns:
OfficeSection.
-
addOfficeSectionTransformer
Description copied from interface:OfficeArchitect- Specified by:
addOfficeSectionTransformerin interfaceOfficeArchitect- Parameters:
transformer-OfficeSectionTransformer.
-
addManagedFunctionAugmentor
Description copied from interface:OfficeArchitectAdds aManagedFunctionAugmentor.- Specified by:
addManagedFunctionAugmentorin interfaceOfficeArchitect- Parameters:
managedFunctionAugmentor-ManagedFunctionAugmentor.
-
addOfficeManagedObjectSource
public OfficeManagedObjectSource addOfficeManagedObjectSource(String managedObjectSourceName, String managedObjectSourceClassName) Description copied from interface:OfficeArchitectAdds aOfficeManagedObjectSource.- Specified by:
addOfficeManagedObjectSourcein interfaceOfficeArchitect- Parameters:
managedObjectSourceName- Name of theOfficeManagedObjectSource.managedObjectSourceClassName- Fully qualified class name of theManagedObjectSource.- Returns:
- Added
OfficeManagedObjectSource.
-
addOfficeManagedObjectSource
public OfficeManagedObjectSource addOfficeManagedObjectSource(String managedObjectSourceName, ManagedObjectSource<?, ?> managedObjectSource) Description copied from interface:OfficeArchitectAdds aOfficeManagedObjectSource.- Specified by:
addOfficeManagedObjectSourcein interfaceOfficeArchitect- Parameters:
managedObjectSourceName- Name of theOfficeManagedObjectSource.managedObjectSource-ManagedObjectSourceinstance to use.- Returns:
- Added
OfficeManagedObjectSource.
-
addManagedObjectPool
public OfficeManagedObjectPool addManagedObjectPool(String managedObjectPoolName, String managedObjectPoolSourceClassName) Description copied from interface:OfficeArchitectAdds anOfficeManagedObjectPool.- Specified by:
addManagedObjectPoolin interfaceOfficeArchitect- Parameters:
managedObjectPoolName- Name of theOfficeManagedObjectPool.managedObjectPoolSourceClassName- Fully qualified class name of theManagedObjectPoolSource.- Returns:
- Added
OfficeManagedObjectPool.
-
addManagedObjectPool
public OfficeManagedObjectPool addManagedObjectPool(String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource) Description copied from interface:OfficeArchitectAdds anOfficeManagedObjectPool.- Specified by:
addManagedObjectPoolin interfaceOfficeArchitect- Parameters:
managedObjectPoolName- Name of theOfficeManagedObjectPool.managedObjectPoolSource-ManagedObjectPoolSourceinstance to use.- Returns:
OfficeManagedObjectPool.
-
addSupplier
Description copied from interface:OfficeArchitectAdds anOfficeSupplier.- Specified by:
addSupplierin interfaceOfficeArchitect- Parameters:
supplierName- Name of theOfficeSupplier.supplierSourceClassName- Fully qualified class name of theSupplierSource.- Returns:
OfficeSupplier.
-
addSupplier
Description copied from interface:OfficeArchitectAdds anOfficeSupplier.- Specified by:
addSupplierin interfaceOfficeArchitect- Parameters:
supplierName- Name of theOfficeSupplier.supplierSource-SupplierSourceinstance to use.- Returns:
OfficeFloorSupplier.
-
addOfficeGovernance
public OfficeGovernance addOfficeGovernance(String governanceName, String governanceSourceClassName) Description copied from interface:OfficeArchitectAdds aOfficeGovernance.- Specified by:
addOfficeGovernancein interfaceOfficeArchitect- Parameters:
governanceName- Name of theOfficeGovernance.governanceSourceClassName- Fully qualified class name of theGovernanceSource.- Returns:
- Added
OfficeGovernance.
-
addOfficeGovernance
public OfficeGovernance addOfficeGovernance(String governanceName, GovernanceSource<?, ?> governanceSource) Description copied from interface:OfficeArchitectAdds anOfficeGovernance.- Specified by:
addOfficeGovernancein interfaceOfficeArchitect- Parameters:
governanceName- Name of theOfficeGovernance.governanceSource-GovernanceSourceinstance to use.- Returns:
- Added
OfficeGovernance.
-
addOfficeAdministration
public OfficeAdministration addOfficeAdministration(String administrationName, String administrationSourceClassName) Description copied from interface:OfficeArchitectAdds anOfficeAdministration.- Specified by:
addOfficeAdministrationin interfaceOfficeArchitect- Parameters:
administrationName- Name of theOfficeAdministration.administrationSourceClassName- Fully qualified class name of theAdministrationSource.- Returns:
- Added
OfficeAdministration.
-
addOfficeAdministration
public OfficeAdministration addOfficeAdministration(String administrationName, AdministrationSource<?, ?, ?> administrationSource) Description copied from interface:OfficeArchitectAdds anOfficeAdministration.- Specified by:
addOfficeAdministrationin interfaceOfficeArchitect- Parameters:
administrationName- Name of theOfficeAdministration.administrationSource-AdministrationSourceinstance to use.- Returns:
- Added
OfficeAdministration.
-
addOfficeEscalation
Description copied from interface:OfficeArchitectAdds anOfficeEscalation.- Specified by:
addOfficeEscalationin interfaceOfficeArchitect- Parameters:
escalationTypeName- Type ofEscalation.- Returns:
- Added
OfficeEscalation.
-
addOfficeEscalationExplorer
Description copied from interface:OfficeArchitectAdds anEscalationExplorerfor the execution tree from the addedOfficeEscalationinstances.- Specified by:
addOfficeEscalationExplorerin interfaceOfficeArchitect- Parameters:
escalationExplorer-EscalationExplorer.
-
addOfficeCompletionExplorer
Description copied from interface:OfficeArchitectAdds aCompletionExplorerto be notified of completion of exploring the execution tree.- Specified by:
addOfficeCompletionExplorerin interfaceOfficeArchitect- Parameters:
completionExplorer-CompletionExplorer.
-
addOfficeStart
Description copied from interface:OfficeArchitectAdds anOfficeStart.- Specified by:
addOfficeStartin interfaceOfficeArchitect- Parameters:
startName- Name of theOfficeStart.- Returns:
- Added
OfficeStart.
-
link
public void link(OfficeManagedObjectSource managedObjectSource, OfficeManagedObjectPool managedObjectPool) Description copied from interface:OfficeArchitectLinks theOfficeManagedObjectSourceto be pooled by theOfficeManagedObjectPool.- Specified by:
linkin interfaceOfficeArchitect- Parameters:
managedObjectSource-OfficeManagedObjectSource.managedObjectPool-OfficeManagedObjectPool.
-
link
Description copied from interface:OfficeArchitectLinks theOfficeFlowSourceNodeto be undertaken by theOfficeFlowSinkNode.- Specified by:
linkin interfaceOfficeArchitect- Parameters:
flowSourceNode-OfficeFlowSourceNode.flowSinkNode-OfficeFlowSinkNode.
-
link
public void link(OfficeDependencyRequireNode dependencyRequiredNode, OfficeDependencyObjectNode dependencyObjectNode) Description copied from interface:OfficeArchitectLinks theOfficeDependencyRequireNodeto be fulfilled by theOfficeDependencyObjectNode.- Specified by:
linkin interfaceOfficeArchitect- Parameters:
dependencyRequiredNode-OfficeDependencyRequireNode.dependencyObjectNode-OfficeDependencyObjectNode.
-
link
Description copied from interface:OfficeArchitectLinks theOfficeResponsibilityto theOfficeTeam.- Specified by:
linkin interfaceOfficeArchitect- Parameters:
responsibility-OfficeResponsibility.officeTeam-OfficeTeam.
-
startBefore
public void startBefore(OfficeManagedObjectSource startEarlier, OfficeManagedObjectSource startLater) Description copied from interface:OfficeArchitectFlags anOfficeManagedObjectSourceto be started before anotherOfficeManagedObjectSource.- Specified by:
startBeforein interfaceOfficeArchitect- Parameters:
startEarlier-OfficeManagedObjectSourceto be started up before.startLater-OfficeManagedObjectSourceto be started up afterwards.
-
startBefore
public void startBefore(OfficeManagedObjectSource managedObjectSource, String managedObjectTypeName) Description copied from interface:OfficeArchitectFlags anOfficeManagedObjectSourceto be started beforeManagedObjectSourceinstances providing the type.- Specified by:
startBeforein interfaceOfficeArchitect- Parameters:
managedObjectSource-OfficeManagedObjectSourceto be started up before.managedObjectTypeName- Fully qualified type name ofManagedObjectobject type for theManagedObjectSourceto be started up afterwards.
-
startAfter
public void startAfter(OfficeManagedObjectSource startLater, OfficeManagedObjectSource startEarlier) Description copied from interface:OfficeArchitectFlags anOfficeManagedObjectSourceto be started after anotherOfficeManagedObjectSource.- Specified by:
startAfterin interfaceOfficeArchitect- Parameters:
startLater-OfficeManagedObjectSourceto be started up afterwards.startEarlier-OfficeManagedObjectSourceto be started up before.
-
startAfter
Description copied from interface:OfficeArchitectFlags anOfficeManagedObjectSourceto be started afterManagedObjectSourceinstances providing the type.- Specified by:
startAfterin interfaceOfficeArchitect- Parameters:
managedObjectSource-OfficeManagedObjectSourceto be started up after.managedObjectTypeName- Fully qualified type name ofManagedObjectobject type for theManagedObjectSourceto be started up beforehand.
-
addIssue
Description copied from interface:SourceIssuesAllows the source to add an issue.
This is available to report invalid configuration.
- Specified by:
addIssuein interfaceSourceIssues- Parameters:
issueDescription- Description of the issue.- Returns:
CompileErrorto be used inthrowstatement when addingCompilerIssueto avoid further compiling.
-
addIssue
Description copied from interface:SourceIssuesAllows the source to add an issue along with its cause.
This is available to report invalid configuration.
- Specified by:
addIssuein interfaceSourceIssues- Parameters:
issueDescription- Description of the issue.cause- Cause of the issue.- Returns:
CompileErrorto be used inthrowstatement when addingCompilerIssueto avoid further compiling.
-
getDeployedOfficeName
Description copied from interface:DeployedOfficeObtains the name of thisDeployedOffice.- Specified by:
getDeployedOfficeNamein interfaceDeployedOffice- Returns:
- Name of this
DeployedOffice.
-
addAdditionalProfile
Description copied from interface:DeployedOfficeAdds an additional profile specific to the
DeployedOffice.All
Nodeinstances within thisDeployedOfficewill have this additional profile.- Specified by:
addAdditionalProfilein interfaceDeployedOffice- Parameters:
profile- Profile specific to theDeployedOffice.
-
addProperty
Description copied from interface:PropertyConfigurableAdds aPropertyto configure the item.- Specified by:
addPropertyin interfacePropertyConfigurable- Parameters:
name- Name ofProperty.value- Value ofProperty.
-
addOverrideProperty
Description copied from interface:DeployedOfficeAdds an override
Property.This allows overriding configuration of the
DeployedOffice.Propertyinstances match on qualified name of theNode. The remainder of the name is thePropertyname being overridden for theNode.- Specified by:
addOverridePropertyin interfaceDeployedOffice- Parameters:
name- Name ofProperty.value- Value forProperty.
-
getDeployedOfficeInput
Description copied from interface:DeployedOfficeObtains theDeployedOfficeInputfor theOfficeAvailableSectionInputType.- Specified by:
getDeployedOfficeInputin interfaceDeployedOffice- Parameters:
sectionName- Name of theOfficeSectionproviding theOfficeAvailableSectionInputType.inputName- Name of theOfficeAvailableSectionInputType.- Returns:
DeployedOfficeInput.
-
getDeployedOfficeObject
Description copied from interface:DeployedOfficeObtains theOfficeObjectfor theOfficeManagedObjectType.- Specified by:
getDeployedOfficeObjectin interfaceDeployedOffice- Parameters:
officeManagedObjectName- Name of theOfficeManagedObjectType.- Returns:
OfficeObject.
-
getDeployedOfficeTeam
Description copied from interface:DeployedOfficeObtains theOfficeTeamfor theOfficeTeamType.- Specified by:
getDeployedOfficeTeamin interfaceDeployedOffice- Parameters:
officeTeamName- Name of theOfficeTeamType.- Returns:
OfficeTeam.
-
linkOfficeNode
Description copied from interface:LinkOfficeNodeLinks the inputLinkOfficeNodeto thisLinkOfficeNode.- Specified by:
linkOfficeNodein interfaceLinkOfficeNode- Parameters:
node-LinkOfficeNodeto link to thisLinkOfficeNode.- Returns:
trueif linked.
-
getLinkedOfficeNode
Description copied from interface:LinkOfficeNodeObtains theLinkOfficeNodelinked to thisLinkOfficeNode.- Specified by:
getLinkedOfficeNodein interfaceLinkOfficeNode- Returns:
LinkOfficeNodelinked to thisLinkOfficeNode.
-