Package net.officefloor.frame.api.build
Interface ManagingOfficeBuilder<F extends java.lang.Enum<F>>
-
- All Known Implementing Classes:
ManagingOfficeBuilderImpl
public interface ManagingOfficeBuilder<F extends java.lang.Enum<F>>Builds details of aManagedObjectSourcebeing managed by anOffice.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlinkExecutionStrategy(int strategyIndex, java.lang.String executionStrategyName)Links strategy to itsExecutionStrategy.voidlinkFlow(int flowIndex, java.lang.String functionName)voidlinkFlow(F key, java.lang.String functionName)voidmapFunctionDependency(java.lang.String functionObjectName, java.lang.String scopeManagedObjectName)Specifies theManagedObjectfor theManagedObjectFunctionDependency.ThreadDependencyMappingBuildersetInputManagedObjectName(java.lang.String inputManagedObjectName)
-
-
-
Method Detail
-
setInputManagedObjectName
ThreadDependencyMappingBuilder setInputManagedObjectName(java.lang.String inputManagedObjectName)
- Parameters:
inputManagedObjectName- Name to bind the inputManagedObjectwithin theProcessStateof theOffice.- Returns:
ThreadDependencyMappingBuilderto map the dependencies of theManagedObjectand possibleManagedObjectFunctionDependencyinstances.
-
mapFunctionDependency
void mapFunctionDependency(java.lang.String functionObjectName, java.lang.String scopeManagedObjectName)Specifies theManagedObjectfor theManagedObjectFunctionDependency.- Parameters:
functionObjectName- Name of theManagedObjectFunctionDependency.scopeManagedObjectName- Name of theManagedObject.
-
linkFlow
void linkFlow(F key, java.lang.String functionName)
- Parameters:
key- Key identifying theFlowinstigated by theManagedObjectSource.functionName- Name of theManagedFunction.
-
linkFlow
void linkFlow(int flowIndex, java.lang.String functionName)- Parameters:
flowIndex- Index identifying theFlowinstigated by theManagedObjectSource.functionName- Name of theManagedFunction.
-
linkExecutionStrategy
void linkExecutionStrategy(int strategyIndex, java.lang.String executionStrategyName)Links strategy to itsExecutionStrategy.- Parameters:
strategyIndex- Index identifying the dependentExecutionStrategyby theManagedObjectSource.executionStrategyName- Name of theExecutionStrategy.
-
-