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 aManagedObjectSource
being managed by anOffice
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
linkExecutionStrategy(int strategyIndex, java.lang.String executionStrategyName)
Links strategy to itsExecutionStrategy
.void
linkFlow(int flowIndex, java.lang.String functionName)
void
linkFlow(F key, java.lang.String functionName)
void
mapFunctionDependency(java.lang.String functionObjectName, java.lang.String scopeManagedObjectName)
Specifies theManagedObject
for theManagedObjectFunctionDependency
.ThreadDependencyMappingBuilder
setInputManagedObjectName(java.lang.String inputManagedObjectName)
-
-
-
Method Detail
-
setInputManagedObjectName
ThreadDependencyMappingBuilder setInputManagedObjectName(java.lang.String inputManagedObjectName)
- Parameters:
inputManagedObjectName
- Name to bind the inputManagedObject
within theProcessState
of theOffice
.- Returns:
ThreadDependencyMappingBuilder
to map the dependencies of theManagedObject
and possibleManagedObjectFunctionDependency
instances.
-
mapFunctionDependency
void mapFunctionDependency(java.lang.String functionObjectName, java.lang.String scopeManagedObjectName)
Specifies theManagedObject
for theManagedObjectFunctionDependency
.- Parameters:
functionObjectName
- Name of theManagedObjectFunctionDependency
.scopeManagedObjectName
- Name of theManagedObject
.
-
linkFlow
void linkFlow(F key, java.lang.String functionName)
- Parameters:
key
- Key identifying theFlow
instigated by theManagedObjectSource
.functionName
- Name of theManagedFunction
.
-
linkFlow
void linkFlow(int flowIndex, java.lang.String functionName)
- Parameters:
flowIndex
- Index identifying theFlow
instigated by theManagedObjectSource
.functionName
- Name of theManagedFunction
.
-
linkExecutionStrategy
void linkExecutionStrategy(int strategyIndex, java.lang.String executionStrategyName)
Links strategy to itsExecutionStrategy
.- Parameters:
strategyIndex
- Index identifying the dependentExecutionStrategy
by theManagedObjectSource
.executionStrategyName
- Name of theExecutionStrategy
.
-
-