Interface OfficeArchitect
-
- All Superinterfaces:
SourceIssues
- All Known Subinterfaces:
OfficeNode
- All Known Implementing Classes:
OfficeNodeImpl
public interface OfficeArchitect extends SourceIssues
Architect to structure theOffice.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddManagedFunctionAugmentor(ManagedFunctionAugmentor managedFunctionAugmentor)Adds aManagedFunctionAugmentor.OfficeManagedObjectPooladdManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)Adds anOfficeManagedObjectPool.OfficeManagedObjectPooladdManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)Adds anOfficeManagedObjectPool.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 officeObjectName, 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.OfficeSupplieraddSupplier(java.lang.String supplierName, java.lang.String supplierSourceClassName)Adds anOfficeSupplier.OfficeSupplieraddSupplier(java.lang.String supplierName, SupplierSource supplierSource)Adds anOfficeSupplier.voidenableAutoWireObjects()Flags to attempt to auto wire any non-configured object links.voidenableAutoWireTeams()Flags to attempt to auto wire any non-configuredTeamlinks.OfficeSectiongetOfficeSection(java.lang.String sectionName)Obtains theOfficeSection.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.voidstartAfter(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)Flags anOfficeManagedObjectSourceto be started afterManagedObjectSourceinstances providing the type.voidstartAfter(OfficeManagedObjectSource startLater, OfficeManagedObjectSource startEarlier)Flags anOfficeManagedObjectSourceto be started after anotherOfficeManagedObjectSource.voidstartBefore(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)Flags anOfficeManagedObjectSourceto be started beforeManagedObjectSourceinstances providing the type.voidstartBefore(OfficeManagedObjectSource startEarlier, OfficeManagedObjectSource startLater)Flags anOfficeManagedObjectSourceto be started before anotherOfficeManagedObjectSource.-
Methods inherited from interface net.officefloor.compile.issues.SourceIssues
addIssue, addIssue
-
-
-
-
Method Detail
-
enableAutoWireObjects
void enableAutoWireObjects()
Flags to attempt to auto wire any non-configured object links.
-
enableAutoWireTeams
void enableAutoWireTeams()
Flags to attempt to auto wire any non-configuredTeamlinks.
-
addOfficeInput
OfficeInput addOfficeInput(java.lang.String inputName, java.lang.String parameterType)
Adds aOfficeInput.- Parameters:
inputName- Name of theOfficeInput.parameterType- Fully qualified type name of the parameter to thisOfficeInput.- Returns:
- Added
OfficeInput.
-
addOfficeOutput
OfficeOutput addOfficeOutput(java.lang.String outputName, java.lang.String argumentType)
Adds aOfficeOutput.- Parameters:
outputName- Name of theOfficeOutput.argumentType- Fully qualified type name of the argument from thisOfficeOutput.- Returns:
- Added
OfficeOutput.
-
addOfficeObject
OfficeObject addOfficeObject(java.lang.String officeObjectName, java.lang.String objectType)
Adds anOfficeObject.- Parameters:
officeObjectName- Name of theOfficeObject.objectType- Object type.- Returns:
- Added
OfficeObject.
-
addOfficeTeam
OfficeTeam addOfficeTeam(java.lang.String officeTeamName)
Adds anOfficeTeam.- Parameters:
officeTeamName- Name of theOfficeTeam.- Returns:
- Added
OfficeTeam.
-
addOfficeSection
OfficeSection addOfficeSection(java.lang.String sectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)
Adds anOfficeSection.- Parameters:
sectionName- Name of theOfficeSection.sectionSourceClassName- Fully qualified class name of theSectionSource.sectionLocation- Location of theOfficeSection.- Returns:
- Added
OfficeSection.
-
addOfficeSection
OfficeSection addOfficeSection(java.lang.String sectionName, SectionSource sectionSource, java.lang.String sectionLocation)
Adds anOfficeSection.- Parameters:
sectionName- Name of theOfficeSection.sectionSource-SectionSourceinstance to use.sectionLocation- Location of theOfficeSection.- Returns:
- Added
OfficeSection.
-
getOfficeSection
OfficeSection getOfficeSection(java.lang.String sectionName)
Obtains theOfficeSection.- Parameters:
sectionName- Name of theOfficeSection.- Returns:
OfficeSection.
-
addOfficeSectionTransformer
void addOfficeSectionTransformer(OfficeSectionTransformer transformer)
- Parameters:
transformer-OfficeSectionTransformer.
-
addManagedFunctionAugmentor
void addManagedFunctionAugmentor(ManagedFunctionAugmentor managedFunctionAugmentor)
Adds aManagedFunctionAugmentor.- Parameters:
managedFunctionAugmentor-ManagedFunctionAugmentor.
-
addOfficeManagedObjectSource
OfficeManagedObjectSource addOfficeManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.String managedObjectSourceClassName)
Adds aOfficeManagedObjectSource.- Parameters:
managedObjectSourceName- Name of theOfficeManagedObjectSource.managedObjectSourceClassName- Fully qualified class name of theManagedObjectSource.- Returns:
- Added
OfficeManagedObjectSource.
-
addOfficeManagedObjectSource
OfficeManagedObjectSource addOfficeManagedObjectSource(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)
Adds aOfficeManagedObjectSource.- Parameters:
managedObjectSourceName- Name of theOfficeManagedObjectSource.managedObjectSource-ManagedObjectSourceinstance to use.- Returns:
- Added
OfficeManagedObjectSource.
-
addManagedObjectPool
OfficeManagedObjectPool addManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)
Adds anOfficeManagedObjectPool.- Parameters:
managedObjectPoolName- Name of theOfficeManagedObjectPool.managedObjectPoolSourceClassName- Fully qualified class name of theManagedObjectPoolSource.- Returns:
- Added
OfficeManagedObjectPool.
-
addManagedObjectPool
OfficeManagedObjectPool addManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)
Adds anOfficeManagedObjectPool.- Parameters:
managedObjectPoolName- Name of theOfficeManagedObjectPool.managedObjectPoolSource-ManagedObjectPoolSourceinstance to use.- Returns:
OfficeManagedObjectPool.
-
addSupplier
OfficeSupplier addSupplier(java.lang.String supplierName, java.lang.String supplierSourceClassName)
Adds anOfficeSupplier.- Parameters:
supplierName- Name of theOfficeSupplier.supplierSourceClassName- Fully qualified class name of theSupplierSource.- Returns:
OfficeSupplier.
-
addSupplier
OfficeSupplier addSupplier(java.lang.String supplierName, SupplierSource supplierSource)
Adds anOfficeSupplier.- Parameters:
supplierName- Name of theOfficeSupplier.supplierSource-SupplierSourceinstance to use.- Returns:
OfficeFloorSupplier.
-
addOfficeGovernance
OfficeGovernance addOfficeGovernance(java.lang.String governanceName, java.lang.String governanceSourceClassName)
Adds aOfficeGovernance.- Parameters:
governanceName- Name of theOfficeGovernance.governanceSourceClassName- Fully qualified class name of theGovernanceSource.- Returns:
- Added
OfficeGovernance.
-
addOfficeGovernance
OfficeGovernance addOfficeGovernance(java.lang.String governanceName, GovernanceSource<?,?> governanceSource)
Adds anOfficeGovernance.- Parameters:
governanceName- Name of theOfficeGovernance.governanceSource-GovernanceSourceinstance to use.- Returns:
- Added
OfficeGovernance.
-
addOfficeAdministration
OfficeAdministration addOfficeAdministration(java.lang.String administrationName, java.lang.String administrationSourceClassName)
Adds anOfficeAdministration.- Parameters:
administrationName- Name of theOfficeAdministration.administrationSourceClassName- Fully qualified class name of theAdministrationSource.- Returns:
- Added
OfficeAdministration.
-
addOfficeAdministration
OfficeAdministration addOfficeAdministration(java.lang.String administrationName, AdministrationSource<?,?,?> administrationSource)
Adds anOfficeAdministration.- Parameters:
administrationName- Name of theOfficeAdministration.administrationSource-AdministrationSourceinstance to use.- Returns:
- Added
OfficeAdministration.
-
addOfficeEscalation
OfficeEscalation addOfficeEscalation(java.lang.String escalationTypeName)
Adds anOfficeEscalation.- Parameters:
escalationTypeName- Type ofEscalation.- Returns:
- Added
OfficeEscalation.
-
addOfficeEscalationExplorer
void addOfficeEscalationExplorer(EscalationExplorer escalationExplorer)
Adds anEscalationExplorerfor the execution tree from the addedOfficeEscalationinstances.- Parameters:
escalationExplorer-EscalationExplorer.
-
addOfficeCompletionExplorer
void addOfficeCompletionExplorer(CompletionExplorer completionExplorer)
Adds aCompletionExplorerto be notified of completion of exploring the execution tree.- Parameters:
completionExplorer-CompletionExplorer.
-
addOfficeStart
OfficeStart addOfficeStart(java.lang.String startName)
Adds anOfficeStart.- Parameters:
startName- Name of theOfficeStart.- Returns:
- Added
OfficeStart.
-
link
void link(OfficeManagedObjectSource managedObjectSource, OfficeManagedObjectPool managedObjectPool)
Links theOfficeManagedObjectSourceto be pooled by theOfficeManagedObjectPool.- Parameters:
managedObjectSource-OfficeManagedObjectSource.managedObjectPool-OfficeManagedObjectPool.
-
link
void link(OfficeFlowSourceNode flowSourceNode, OfficeFlowSinkNode flowSinkNode)
Links theOfficeFlowSourceNodeto be undertaken by theOfficeFlowSinkNode.- Parameters:
flowSourceNode-OfficeFlowSourceNode.flowSinkNode-OfficeFlowSinkNode.
-
link
void link(OfficeDependencyRequireNode dependencyRequiredNode, OfficeDependencyObjectNode dependencyObjectNode)
Links theOfficeDependencyRequireNodeto be fulfilled by theOfficeDependencyObjectNode.- Parameters:
dependencyRequiredNode-OfficeDependencyRequireNode.dependencyObjectNode-OfficeDependencyObjectNode.
-
link
void link(OfficeResponsibility responsibility, OfficeTeam officeTeam)
Links theOfficeResponsibilityto theOfficeTeam.- Parameters:
responsibility-OfficeResponsibility.officeTeam-OfficeTeam.
-
startBefore
void startBefore(OfficeManagedObjectSource startEarlier, OfficeManagedObjectSource startLater)
Flags anOfficeManagedObjectSourceto be started before anotherOfficeManagedObjectSource.- Parameters:
startEarlier-OfficeManagedObjectSourceto be started up before.startLater-OfficeManagedObjectSourceto be started up afterwards.
-
startBefore
void startBefore(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)
Flags anOfficeManagedObjectSourceto be started beforeManagedObjectSourceinstances providing the type.- Parameters:
managedObjectSource-OfficeManagedObjectSourceto be started up before.managedObjectTypeName- Fully qualified type name ofManagedObjectobject type for theManagedObjectSourceto be started up afterwards.
-
startAfter
void startAfter(OfficeManagedObjectSource startLater, OfficeManagedObjectSource startEarlier)
Flags anOfficeManagedObjectSourceto be started after anotherOfficeManagedObjectSource.- Parameters:
startLater-OfficeManagedObjectSourceto be started up afterwards.startEarlier-OfficeManagedObjectSourceto be started up before.
-
startAfter
void startAfter(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)
Flags anOfficeManagedObjectSourceto be started afterManagedObjectSourceinstances providing the type.- Parameters:
managedObjectSource-OfficeManagedObjectSourceto be started up after.managedObjectTypeName- Fully qualified type name ofManagedObjectobject type for theManagedObjectSourceto be started up beforehand.
-
-