Class ManagingOfficeBuilderImpl<F extends Enum<F>>
java.lang.Object
net.officefloor.frame.impl.construct.managedobjectsource.ManagingOfficeBuilderImpl<F>
- All Implemented Interfaces:
ManagingOfficeBuilder<F>,ManagingOfficeConfiguration<F>
public class ManagingOfficeBuilderImpl<F extends Enum<F>>
extends Object
implements ManagingOfficeBuilder<F>, ManagingOfficeConfiguration<F>
ManagingOfficeBuilder implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains theManagingOfficeBuilderfor thisManagedObjectSource.Obtains theManagedObjectExecutionConfigurationfor theManagedObjectSource.Obtains theManagedObjectFlowConfigurationfor theManagedObjectSource.Obtains theManagedObjectFunctionDependencyConfigurationfor theManagedObjectSource.Obtains the name of theOfficemanaging thisManagedObjectSource.voidlinkExecutionStrategy(int strategyIndex, String executionStrategyName) Links strategy to itsExecutionStrategy.voidvoidvoidmapFunctionDependency(String functionObjectName, String scopedManagedObjectName) Specifies theManagedObjectfor theManagedObjectFunctionDependency.setInputManagedObjectName(String inputManagedObjectName)
-
Constructor Details
-
ManagingOfficeBuilderImpl
Initiate.- Parameters:
officeName- Name of theOfficemanaging theManagedObject.
-
-
Method Details
-
setInputManagedObjectName
Description copied from interface:ManagingOfficeBuilder- Specified by:
setInputManagedObjectNamein interfaceManagingOfficeBuilder<F extends Enum<F>>- Parameters:
inputManagedObjectName- Name to bind the inputManagedObjectwithin theProcessStateof theOffice.- Returns:
ThreadDependencyMappingBuilderto map the dependencies of theManagedObjectand possibleManagedObjectFunctionDependencyinstances.
-
mapFunctionDependency
Description copied from interface:ManagingOfficeBuilderSpecifies theManagedObjectfor theManagedObjectFunctionDependency.- Specified by:
mapFunctionDependencyin interfaceManagingOfficeBuilder<F extends Enum<F>>- Parameters:
functionObjectName- Name of theManagedObjectFunctionDependency.scopedManagedObjectName- Name of theManagedObject.
-
linkFlow
Description copied from interface:ManagingOfficeBuilder- Specified by:
linkFlowin interfaceManagingOfficeBuilder<F extends Enum<F>>- Parameters:
key- Key identifying theFlowinstigated by theManagedObjectSource.functionName- Name of theManagedFunction.
-
linkFlow
Description copied from interface:ManagingOfficeBuilder- Specified by:
linkFlowin interfaceManagingOfficeBuilder<F extends Enum<F>>- Parameters:
flowIndex- Index identifying theFlowinstigated by theManagedObjectSource.functionName- Name of theManagedFunction.
-
linkExecutionStrategy
Description copied from interface:ManagingOfficeBuilderLinks strategy to itsExecutionStrategy.- Specified by:
linkExecutionStrategyin interfaceManagingOfficeBuilder<F extends Enum<F>>- Parameters:
strategyIndex- Index identifying the dependentExecutionStrategyby theManagedObjectSource.executionStrategyName- Name of theExecutionStrategy.
-
getOfficeName
Description copied from interface:ManagingOfficeConfigurationObtains the name of theOfficemanaging thisManagedObjectSource.- Specified by:
getOfficeNamein interfaceManagingOfficeConfiguration<F extends Enum<F>>- Returns:
- Name of the
Officemanaging thisManagedObjectSource.
-
getInputManagedObjectConfiguration
Description copied from interface:ManagingOfficeConfiguration- Specified by:
getInputManagedObjectConfigurationin interfaceManagingOfficeConfiguration<F extends Enum<F>>- Returns:
InputManagedObjectConfigurationto bind the inputManagedObjectto theProcessState.
-
getBuilder
Description copied from interface:ManagingOfficeConfigurationObtains the
ManagingOfficeBuilderfor thisManagedObjectSource.This is to enable the
ManagedObjectSourceto provide additional configuration for itself.- Specified by:
getBuilderin interfaceManagingOfficeConfiguration<F extends Enum<F>>- Returns:
ManagingOfficeBuilder.
-
getFunctionDependencyConfiguration
Description copied from interface:ManagingOfficeConfigurationObtains theManagedObjectFunctionDependencyConfigurationfor theManagedObjectSource.- Specified by:
getFunctionDependencyConfigurationin interfaceManagingOfficeConfiguration<F extends Enum<F>>- Returns:
ManagedObjectFunctionDependencyConfigurationfor theManagedObjectSource.
-
getFlowConfiguration
Description copied from interface:ManagingOfficeConfigurationObtains theManagedObjectFlowConfigurationfor theManagedObjectSource.- Specified by:
getFlowConfigurationin interfaceManagingOfficeConfiguration<F extends Enum<F>>- Returns:
ManagedObjectFlowConfigurationfor theManagedObjectSource.
-
getExecutionConfiguration
Description copied from interface:ManagingOfficeConfigurationObtains theManagedObjectExecutionConfigurationfor theManagedObjectSource.- Specified by:
getExecutionConfigurationin interfaceManagingOfficeConfiguration<F extends Enum<F>>- Returns:
ManagedObjectExecutionConfigurationfor theManagedObjectSource.
-