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 void
addManagedFunctionAugmentor(ManagedFunctionAugmentor managedFunctionAugmentor)
Adds aManagedFunctionAugmentor
.OfficeManagedObjectPool
addManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)
Adds anOfficeManagedObjectPool
.OfficeManagedObjectPool
addManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)
Adds anOfficeManagedObjectPool
.OfficeAdministration
addOfficeAdministration(java.lang.String administrationName, java.lang.String administrationSourceClassName)
Adds anOfficeAdministration
.OfficeAdministration
addOfficeAdministration(java.lang.String administrationName, AdministrationSource<?,?,?> administrationSource)
Adds anOfficeAdministration
.void
addOfficeCompletionExplorer(CompletionExplorer completionExplorer)
Adds aCompletionExplorer
to be notified of completion of exploring the execution tree.OfficeEscalation
addOfficeEscalation(java.lang.String escalationTypeName)
Adds anOfficeEscalation
.void
addOfficeEscalationExplorer(EscalationExplorer escalationExplorer)
Adds anEscalationExplorer
for the execution tree from the addedOfficeEscalation
instances.OfficeGovernance
addOfficeGovernance(java.lang.String governanceName, java.lang.String governanceSourceClassName)
Adds aOfficeGovernance
.OfficeGovernance
addOfficeGovernance(java.lang.String governanceName, GovernanceSource<?,?> governanceSource)
Adds anOfficeGovernance
.OfficeInput
addOfficeInput(java.lang.String inputName, java.lang.String parameterType)
Adds aOfficeInput
.OfficeManagedObjectSource
addOfficeManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.String managedObjectSourceClassName)
Adds aOfficeManagedObjectSource
.OfficeManagedObjectSource
addOfficeManagedObjectSource(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)
Adds aOfficeManagedObjectSource
.OfficeObject
addOfficeObject(java.lang.String officeObjectName, java.lang.String objectType)
Adds anOfficeObject
.OfficeOutput
addOfficeOutput(java.lang.String outputName, java.lang.String argumentType)
Adds aOfficeOutput
.OfficeSection
addOfficeSection(java.lang.String sectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)
Adds anOfficeSection
.OfficeSection
addOfficeSection(java.lang.String sectionName, SectionSource sectionSource, java.lang.String sectionLocation)
Adds anOfficeSection
.void
addOfficeSectionTransformer(OfficeSectionTransformer transformer)
OfficeStart
addOfficeStart(java.lang.String startName)
Adds anOfficeStart
.OfficeTeam
addOfficeTeam(java.lang.String officeTeamName)
Adds anOfficeTeam
.OfficeSupplier
addSupplier(java.lang.String supplierName, java.lang.String supplierSourceClassName)
Adds anOfficeSupplier
.OfficeSupplier
addSupplier(java.lang.String supplierName, SupplierSource supplierSource)
Adds anOfficeSupplier
.void
enableAutoWireObjects()
Flags to attempt to auto wire any non-configured object links.void
enableAutoWireTeams()
Flags to attempt to auto wire any non-configuredTeam
links.OfficeSection
getOfficeSection(java.lang.String sectionName)
Obtains theOfficeSection
.void
link(OfficeDependencyRequireNode dependencyRequiredNode, OfficeDependencyObjectNode dependencyObjectNode)
Links theOfficeDependencyRequireNode
to be fulfilled by theOfficeDependencyObjectNode
.void
link(OfficeFlowSourceNode flowSourceNode, OfficeFlowSinkNode flowSinkNode)
Links theOfficeFlowSourceNode
to be undertaken by theOfficeFlowSinkNode
.void
link(OfficeManagedObjectSource managedObjectSource, OfficeManagedObjectPool managedObjectPool)
Links theOfficeManagedObjectSource
to be pooled by theOfficeManagedObjectPool
.void
link(OfficeResponsibility responsibility, OfficeTeam officeTeam)
Links theOfficeResponsibility
to theOfficeTeam
.void
startAfter(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)
Flags anOfficeManagedObjectSource
to be started afterManagedObjectSource
instances providing the type.void
startAfter(OfficeManagedObjectSource startLater, OfficeManagedObjectSource startEarlier)
Flags anOfficeManagedObjectSource
to be started after anotherOfficeManagedObjectSource
.void
startBefore(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)
Flags anOfficeManagedObjectSource
to be started beforeManagedObjectSource
instances providing the type.void
startBefore(OfficeManagedObjectSource startEarlier, OfficeManagedObjectSource startLater)
Flags anOfficeManagedObjectSource
to 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-configuredTeam
links.
-
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
-SectionSource
instance 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
-ManagedObjectSource
instance 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
-ManagedObjectPoolSource
instance 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
-SupplierSource
instance 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
-GovernanceSource
instance 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
-AdministrationSource
instance 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 anEscalationExplorer
for the execution tree from the addedOfficeEscalation
instances.- Parameters:
escalationExplorer
-EscalationExplorer
.
-
addOfficeCompletionExplorer
void addOfficeCompletionExplorer(CompletionExplorer completionExplorer)
Adds aCompletionExplorer
to 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 theOfficeManagedObjectSource
to be pooled by theOfficeManagedObjectPool
.- Parameters:
managedObjectSource
-OfficeManagedObjectSource
.managedObjectPool
-OfficeManagedObjectPool
.
-
link
void link(OfficeFlowSourceNode flowSourceNode, OfficeFlowSinkNode flowSinkNode)
Links theOfficeFlowSourceNode
to be undertaken by theOfficeFlowSinkNode
.- Parameters:
flowSourceNode
-OfficeFlowSourceNode
.flowSinkNode
-OfficeFlowSinkNode
.
-
link
void link(OfficeDependencyRequireNode dependencyRequiredNode, OfficeDependencyObjectNode dependencyObjectNode)
Links theOfficeDependencyRequireNode
to be fulfilled by theOfficeDependencyObjectNode
.- Parameters:
dependencyRequiredNode
-OfficeDependencyRequireNode
.dependencyObjectNode
-OfficeDependencyObjectNode
.
-
link
void link(OfficeResponsibility responsibility, OfficeTeam officeTeam)
Links theOfficeResponsibility
to theOfficeTeam
.- Parameters:
responsibility
-OfficeResponsibility
.officeTeam
-OfficeTeam
.
-
startBefore
void startBefore(OfficeManagedObjectSource startEarlier, OfficeManagedObjectSource startLater)
Flags anOfficeManagedObjectSource
to be started before anotherOfficeManagedObjectSource
.- Parameters:
startEarlier
-OfficeManagedObjectSource
to be started up before.startLater
-OfficeManagedObjectSource
to be started up afterwards.
-
startBefore
void startBefore(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)
Flags anOfficeManagedObjectSource
to be started beforeManagedObjectSource
instances providing the type.- Parameters:
managedObjectSource
-OfficeManagedObjectSource
to be started up before.managedObjectTypeName
- Fully qualified type name ofManagedObject
object type for theManagedObjectSource
to be started up afterwards.
-
startAfter
void startAfter(OfficeManagedObjectSource startLater, OfficeManagedObjectSource startEarlier)
Flags anOfficeManagedObjectSource
to be started after anotherOfficeManagedObjectSource
.- Parameters:
startLater
-OfficeManagedObjectSource
to be started up afterwards.startEarlier
-OfficeManagedObjectSource
to be started up before.
-
startAfter
void startAfter(OfficeManagedObjectSource managedObjectSource, java.lang.String managedObjectTypeName)
Flags anOfficeManagedObjectSource
to be started afterManagedObjectSource
instances providing the type.- Parameters:
managedObjectSource
-OfficeManagedObjectSource
to be started up after.managedObjectTypeName
- Fully qualified type name ofManagedObject
object type for theManagedObjectSource
to be started up beforehand.
-
-