Class OfficeNodeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.structure.OfficeNodeImpl
-
- All Implemented Interfaces:
LinkOfficeNode,ManagedFunctionVisitor,ManagedObjectRegistry,Node,OfficeNode,OfficeTeamRegistry,OverrideProperties,SourceIssues,PropertyConfigurable,OfficeArchitect,DeployedOffice
public class OfficeNodeImpl extends java.lang.Object implements OfficeNode, ManagedFunctionVisitor
OfficeNodeimplementation.- Author:
- Daniel Sagenschneider
-
-
Field Summary
-
Fields inherited from interface net.officefloor.compile.internal.structure.OfficeNode
TYPE
-
-
Constructor Summary
Constructors Constructor Description OfficeNodeImpl(java.lang.String officeName, OfficeFloorNode officeFloor, NodeContext context)Initialise with all parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAdditionalProfile(java.lang.String profile)Adds an additional profile specific to theDeployedOffice.CompileErroraddIssue(java.lang.String issueDescription)Allows the source to add an issue.CompileErroraddIssue(java.lang.String issueDescription, java.lang.Throwable cause)Allows the source to add an issue along with its cause.voidaddManagedFunctionAugmentor(ManagedFunctionAugmentor managedFunctionAugmentor)Adds aManagedFunctionAugmentor.ManagedObjectNodeaddManagedObjectNode(java.lang.String managedObjectName, ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode)Adds an initialisedManagedObjectNodeto the registry.OfficeManagedObjectPooladdManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)Adds anOfficeManagedObjectPool.OfficeManagedObjectPooladdManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)Adds anOfficeManagedObjectPool.OfficeManagedObjectSourceaddManagedObjectSource(java.lang.String managedObjectSourceName, SuppliedManagedObjectSourceNode suppliedManagedObject)Adds aOfficeManagedObjectSourcesupplied from anOfficeSupplier.OfficeAdministrationaddOfficeAdministration(java.lang.String administrationName, java.lang.String administrationSourceClassName)Adds anOfficeAdministration.OfficeAdministrationaddOfficeAdministration(java.lang.String administrationName, AdministrationSource<?,?,?> administrationSource)Adds anOfficeAdministration.voidaddOfficeCompletionExplorer(CompletionExplorer completionExplorer)Adds aCompletionExplorerto be notified of completion of exploring the execution tree.OfficeEscalationaddOfficeEscalation(java.lang.String escalationTypeName)Adds anOfficeEscalation.voidaddOfficeEscalationExplorer(EscalationExplorer escalationExplorer)Adds anEscalationExplorerfor the execution tree from the addedOfficeEscalationinstances.OfficeGovernanceaddOfficeGovernance(java.lang.String governanceName, java.lang.String governanceSourceClassName)Adds aOfficeGovernance.OfficeGovernanceaddOfficeGovernance(java.lang.String governanceName, GovernanceSource<?,?> governanceSource)Adds anOfficeGovernance.OfficeInputaddOfficeInput(java.lang.String inputName, java.lang.String parameterType)Adds aOfficeInput.OfficeManagedObjectSourceaddOfficeManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.String managedObjectSourceClassName)Adds aOfficeManagedObjectSource.OfficeManagedObjectSourceaddOfficeManagedObjectSource(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)Adds aOfficeManagedObjectSource.OfficeObjectaddOfficeObject(java.lang.String officeManagedObjectName, java.lang.String objectType)Adds anOfficeObject.OfficeOutputaddOfficeOutput(java.lang.String outputName, java.lang.String argumentType)Adds aOfficeOutput.OfficeSectionaddOfficeSection(java.lang.String sectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)Adds anOfficeSection.OfficeSectionaddOfficeSection(java.lang.String sectionName, SectionSource sectionSource, java.lang.String sectionLocation)Adds anOfficeSection.voidaddOfficeSectionTransformer(OfficeSectionTransformer transformer)OfficeStartaddOfficeStart(java.lang.String startName)Adds anOfficeStart.OfficeTeamaddOfficeTeam(java.lang.String officeTeamName)Adds anOfficeTeam.voidaddOverrideProperty(java.lang.String name, java.lang.String value)Adds an overrideProperty.voidaddProperty(java.lang.String name, java.lang.String value)Adds aPropertyto configure the item.OfficeSupplieraddSupplier(java.lang.String supplierName, java.lang.String supplierSourceClassName)Adds anOfficeSupplier.OfficeSupplieraddSupplier(java.lang.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.OfficeBindingsbuildOffice(OfficeFloorBuilder builder, CompileContext compileContext, Profiler profiler)Builds theOfficefor thisOfficeNode.OfficeTeamNodecreateOfficeTeam(java.lang.String officeTeamName)Creates theOfficeTeamNode.voidenableAutoWireObjects()Flags to attempt to auto wire any non-configured object links.voidenableAutoWireTeams()Flags to attempt to auto wire any non-configuredTeamlinks.java.lang.String[]getAdditionalProfiles()Obtains the additional profiles.AvailableType[]getAvailableTypes(CompileContext compileContext)Obtains theAvailableTypeinstances.Node[]getChildNodes()Obtains the childNodeinstances.DeployedOfficeInputgetDeployedOfficeInput(java.lang.String sectionName, java.lang.String inputName)Obtains theDeployedOfficeInputfor theOfficeAvailableSectionInputType.java.lang.StringgetDeployedOfficeName()Obtains the name of thisDeployedOffice.OfficeObjectgetDeployedOfficeObject(java.lang.String officeManagedObjectName)Obtains theOfficeObjectfor theOfficeManagedObjectType.OfficeTeamgetDeployedOfficeTeam(java.lang.String officeTeamName)Obtains theOfficeTeamfor theOfficeTeamType.InternalSupplier[]getInternalSuppliers()Obtains theInternalSupplierinstances for theOffice.LinkOfficeNodegetLinkedOfficeNode()Obtains theLinkOfficeNodelinked to thisLinkOfficeNode.java.lang.StringgetLocation()Obtains the location of theNode.ManagedObjectNodegetManagedObjectNode(java.lang.String managedObjectName)Obtains theManagedObjectNodefrom the registry.java.lang.StringgetNodeName()Obtains the name of theNode.java.lang.StringgetNodeType()Obtains theNodetype.OfficeFloorNodegetOfficeFloorNode()Obtains theOfficeFloorNodecontaining thisOfficeNode.OfficeSectiongetOfficeSection(java.lang.String sectionName)Obtains theOfficeSection.OfficeTeamNode[]getOfficeTeams()Obtains theOfficeTeamNodeinstances.PropertyListgetOverridePropertyList()Obtains the overridePropertyList.NodegetParentNode()voidinitialise(java.lang.String officeSourceClassName, OfficeSource officeSource, java.lang.String officeLocation)Initialises theOfficeNode.booleanisInitialised()Indicates 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.OfficeTypeloadOfficeType(CompileContext compileContext)Loads theOfficeType.booleanrunExecutionExplorers(CompileContext compileContext)Runs theExecutionExplorerinstances.booleansourceOfficeTree(ManagedObjectSourceVisitor managedObjectSourceVisitor, AutoWirerVisitor autoWirerVisitor, CompileContext compileContext)booleansourceOfficeWithTopLevelSections(ManagedObjectSourceVisitor managedObjectSourceVisitor, CompileContext compileContext)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, wait
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getQualifiedName, getQualifiedName
-
-
-
-
Constructor Detail
-
OfficeNodeImpl
public OfficeNodeImpl(java.lang.String officeName, OfficeFloorNode officeFloor, NodeContext context)Initialise with all parameters.- Parameters:
officeName- Name of theDeployedOffice.officeFloor- ParentOfficeFloorNode.context-NodeContext.
-
-
Method Detail
-
getNodeName
public java.lang.String getNodeName()
Description copied from interface:NodeObtains the name of theNode.- Specified by:
getNodeNamein interfaceNode- Returns:
- Name of the
Node.
-
getNodeType
public java.lang.String getNodeType()
Description copied from interface:NodeObtains theNodetype.- Specified by:
getNodeTypein interfaceNode- Returns:
Nodetype.
-
getLocation
public java.lang.String 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
public Node getParentNode()
Description copied from interface:Node- Specified by:
getParentNodein interfaceNode- Returns:
Nodecontaining thisNode.
-
getChildNodes
public Node[] 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(java.lang.String officeSourceClassName, OfficeSource officeSource, java.lang.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
public ManagedObjectNode getManagedObjectNode(java.lang.String managedObjectName)
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(java.lang.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
public OfficeTeamNode[] getOfficeTeams()
Description copied from interface:OfficeTeamRegistryObtains theOfficeTeamNodeinstances.- Specified by:
getOfficeTeamsin interfaceOfficeTeamRegistry- Returns:
OfficeTeamNodeinstances.
-
createOfficeTeam
public OfficeTeamNode createOfficeTeam(java.lang.String officeTeamName)
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
public PropertyList getOverridePropertyList()
Description copied from interface:OverridePropertiesObtains the overridePropertyList.- Specified by:
getOverridePropertyListin interfaceOverrideProperties- Returns:
- Override
PropertyList.
-
getAdditionalProfiles
public java.lang.String[] getAdditionalProfiles()
Description copied from interface:OfficeNodeObtains the additional profiles.- Specified by:
getAdditionalProfilesin interfaceOfficeNode- Returns:
- Additional profiles.
-
getOfficeFloorNode
public OfficeFloorNode getOfficeFloorNode()
Description copied from interface:OfficeNodeObtains theOfficeFloorNodecontaining thisOfficeNode.- Specified by:
getOfficeFloorNodein interfaceOfficeNode- Returns:
OfficeFloorNodecontaining thisOfficeNode.
-
addManagedObjectSource
public OfficeManagedObjectSource addManagedObjectSource(java.lang.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.compileContext-CompileContext.- Returns:
trueif successfully sourced. Otherwisefalsewith issue reported to theCompilerIssues.
-
getAvailableTypes
public AvailableType[] getAvailableTypes(CompileContext compileContext)
Description copied from interface:OfficeNodeObtains theAvailableTypeinstances.- Specified by:
getAvailableTypesin interfaceOfficeNode- Parameters:
compileContext-CompileContext.- Returns:
AvailableTypeinstances.
-
loadOfficeType
public OfficeType loadOfficeType(CompileContext compileContext)
Description copied from interface:OfficeNodeLoads theOfficeType.- Specified by:
loadOfficeTypein interfaceOfficeNode- Parameters:
compileContext-CompileContext.- Returns:
OfficeTypeornullif issue loading with issue reported to theCompilerIssues.
-
autoWireObjects
public void autoWireObjects(AutoWirer<LinkObjectNode> autoWirer, CompileContext compileContext)
Description copied from interface:OfficeNodeAuto-wires theOfficeObjectNodeinstances that are unlinked.- Specified by:
autoWireObjectsin interfaceOfficeNode- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
autoWireTeams
public void autoWireTeams(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)
Description copied from interface:OfficeNodeAuto-wires theOfficeTeamNodeinstances that are unlinked.- Specified by:
autoWireTeamsin interfaceOfficeNode- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
runExecutionExplorers
public boolean runExecutionExplorers(CompileContext compileContext)
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
public void loadExternalServicing(Office office) throws UnknownFunctionException
Description copied from interface:OfficeNodeLoads theFunctionManagerinstances to externally trigger thisOfficeNode.- Specified by:
loadExternalServicingin interfaceOfficeNode- Parameters:
office-Officefor thisOfficeNode.- Throws:
UnknownFunctionException-UnknownFunctionException.
-
getInternalSuppliers
public InternalSupplier[] 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
public OfficeObject addOfficeObject(java.lang.String officeManagedObjectName, java.lang.String objectType)
Description copied from interface:OfficeArchitectAdds anOfficeObject.- Specified by:
addOfficeObjectin interfaceOfficeArchitect- Parameters:
officeManagedObjectName- Name of theOfficeObject.objectType- Object type.- Returns:
- Added
OfficeObject.
-
addOfficeInput
public OfficeInput addOfficeInput(java.lang.String inputName, java.lang.String parameterType)
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
public OfficeOutput addOfficeOutput(java.lang.String outputName, java.lang.String argumentType)
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
public OfficeTeam addOfficeTeam(java.lang.String officeTeamName)
Description copied from interface:OfficeArchitectAdds anOfficeTeam.- Specified by:
addOfficeTeamin interfaceOfficeArchitect- Parameters:
officeTeamName- Name of theOfficeTeam.- Returns:
- Added
OfficeTeam.
-
addOfficeSection
public OfficeSection addOfficeSection(java.lang.String sectionName, java.lang.String sectionSourceClassName, java.lang.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(java.lang.String sectionName, SectionSource sectionSource, java.lang.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
public OfficeSection getOfficeSection(java.lang.String sectionName)
Description copied from interface:OfficeArchitectObtains theOfficeSection.- Specified by:
getOfficeSectionin interfaceOfficeArchitect- Parameters:
sectionName- Name of theOfficeSection.- Returns:
OfficeSection.
-
addOfficeSectionTransformer
public void addOfficeSectionTransformer(OfficeSectionTransformer transformer)
Description copied from interface:OfficeArchitect- Specified by:
addOfficeSectionTransformerin interfaceOfficeArchitect- Parameters:
transformer-OfficeSectionTransformer.
-
addManagedFunctionAugmentor
public void addManagedFunctionAugmentor(ManagedFunctionAugmentor managedFunctionAugmentor)
Description copied from interface:OfficeArchitectAdds aManagedFunctionAugmentor.- Specified by:
addManagedFunctionAugmentorin interfaceOfficeArchitect- Parameters:
managedFunctionAugmentor-ManagedFunctionAugmentor.
-
addOfficeManagedObjectSource
public OfficeManagedObjectSource addOfficeManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.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(java.lang.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(java.lang.String managedObjectPoolName, java.lang.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(java.lang.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
public OfficeSupplier addSupplier(java.lang.String supplierName, java.lang.String supplierSourceClassName)
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
public OfficeSupplier addSupplier(java.lang.String supplierName, SupplierSource supplierSource)
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(java.lang.String governanceName, java.lang.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(java.lang.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(java.lang.String administrationName, java.lang.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(java.lang.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
public OfficeEscalation addOfficeEscalation(java.lang.String escalationTypeName)
Description copied from interface:OfficeArchitectAdds anOfficeEscalation.- Specified by:
addOfficeEscalationin interfaceOfficeArchitect- Parameters:
escalationTypeName- Type ofEscalation.- Returns:
- Added
OfficeEscalation.
-
addOfficeEscalationExplorer
public void addOfficeEscalationExplorer(EscalationExplorer escalationExplorer)
Description copied from interface:OfficeArchitectAdds anEscalationExplorerfor the execution tree from the addedOfficeEscalationinstances.- Specified by:
addOfficeEscalationExplorerin interfaceOfficeArchitect- Parameters:
escalationExplorer-EscalationExplorer.
-
addOfficeCompletionExplorer
public void addOfficeCompletionExplorer(CompletionExplorer completionExplorer)
Description copied from interface:OfficeArchitectAdds aCompletionExplorerto be notified of completion of exploring the execution tree.- Specified by:
addOfficeCompletionExplorerin interfaceOfficeArchitect- Parameters:
completionExplorer-CompletionExplorer.
-
addOfficeStart
public OfficeStart addOfficeStart(java.lang.String startName)
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
public void link(OfficeFlowSourceNode flowSourceNode, OfficeFlowSinkNode flowSinkNode)
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
public void link(OfficeResponsibility responsibility, OfficeTeam officeTeam)
Description copied from interface:OfficeArchitectLinks theOfficeResponsibilityto theOfficeTeam.- Specified by:
linkin interfaceOfficeArchitect- Parameters:
responsibility-OfficeResponsibility.officeTeam-OfficeTeam.
-
addIssue
public CompileError addIssue(java.lang.String issueDescription)
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
public CompileError addIssue(java.lang.String issueDescription, java.lang.Throwable cause)
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
public java.lang.String getDeployedOfficeName()
Description copied from interface:DeployedOfficeObtains the name of thisDeployedOffice.- Specified by:
getDeployedOfficeNamein interfaceDeployedOffice- Returns:
- Name of this
DeployedOffice.
-
addAdditionalProfile
public void addAdditionalProfile(java.lang.String profile)
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
public void addProperty(java.lang.String name, java.lang.String value)Description copied from interface:PropertyConfigurableAdds aPropertyto configure the item.- Specified by:
addPropertyin interfacePropertyConfigurable- Parameters:
name- Name ofProperty.value- Value ofProperty.
-
addOverrideProperty
public void addOverrideProperty(java.lang.String name, java.lang.String value)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
public DeployedOfficeInput getDeployedOfficeInput(java.lang.String sectionName, java.lang.String inputName)
Description copied from interface:DeployedOfficeObtains theDeployedOfficeInputfor theOfficeAvailableSectionInputType.- Specified by:
getDeployedOfficeInputin interfaceDeployedOffice- Parameters:
sectionName- Name of theOfficeSectionproviding theOfficeAvailableSectionInputType.inputName- Name of theOfficeAvailableSectionInputType.- Returns:
DeployedOfficeInput.
-
getDeployedOfficeObject
public OfficeObject getDeployedOfficeObject(java.lang.String officeManagedObjectName)
Description copied from interface:DeployedOfficeObtains theOfficeObjectfor theOfficeManagedObjectType.- Specified by:
getDeployedOfficeObjectin interfaceDeployedOffice- Parameters:
officeManagedObjectName- Name of theOfficeManagedObjectType.- Returns:
OfficeObject.
-
getDeployedOfficeTeam
public OfficeTeam getDeployedOfficeTeam(java.lang.String officeTeamName)
Description copied from interface:DeployedOfficeObtains theOfficeTeamfor theOfficeTeamType.- Specified by:
getDeployedOfficeTeamin interfaceDeployedOffice- Parameters:
officeTeamName- Name of theOfficeTeamType.- Returns:
OfficeTeam.
-
linkOfficeNode
public boolean linkOfficeNode(LinkOfficeNode node)
Description copied from interface:LinkOfficeNodeLinks the inputLinkOfficeNodeto thisLinkOfficeNode.- Specified by:
linkOfficeNodein interfaceLinkOfficeNode- Parameters:
node-LinkOfficeNodeto link to thisLinkOfficeNode.- Returns:
trueif linked.
-
getLinkedOfficeNode
public LinkOfficeNode getLinkedOfficeNode()
Description copied from interface:LinkOfficeNodeObtains theLinkOfficeNodelinked to thisLinkOfficeNode.- Specified by:
getLinkedOfficeNodein interfaceLinkOfficeNode- Returns:
LinkOfficeNodelinked to thisLinkOfficeNode.
-
-