Interface ManagedObjectFunctionBuilder<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
-
- All Superinterfaces:
FlowBuilder<F>,FunctionBuilder<F>
public interface ManagedObjectFunctionBuilder<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends FlowBuilder<F>
Builds theManagedFunctionnecessary for theManagedObjectSource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlinkFlow(int flowIndex, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)voidlinkFlow(F key, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)Links in aFlowto theManagedObjectSourceFlow.voidlinkManagedObject(int index)Links theManagedObjectinput by theManagedObjectSource.voidlinkManagedObject(O key)Links theManagedObjectinput by theManagedObjectSource.voidlinkObject(int index, ManagedObjectFunctionDependency dependency)Links in theManagedObjectFunctionDependencyto thisManagedFunction.voidlinkObject(O key, ManagedObjectFunctionDependency dependency)Links in theManagedObjectFunctionDependencyto thisManagedFunction.voidlinkParameter(int index, java.lang.Class<?> parameterType)Links in the parameter for thisManagedFunction.voidlinkParameter(O key, java.lang.Class<?> parameterType)Links in the parameter for thisManagedFunction.-
Methods inherited from interface net.officefloor.frame.api.build.FlowBuilder
setNextFunction
-
Methods inherited from interface net.officefloor.frame.api.build.FunctionBuilder
addEscalation, linkFlow, linkFlow, setResponsibleTeam
-
-
-
-
Method Detail
-
linkParameter
void linkParameter(O key, java.lang.Class<?> parameterType)
Links in the parameter for thisManagedFunction.- Parameters:
key- Key identifying the object.parameterType- Type of the parameter.
-
linkParameter
void linkParameter(int index, java.lang.Class<?> parameterType)Links in the parameter for thisManagedFunction.- Parameters:
index- Index identifying the object.parameterType- Type of the parameter.
-
linkObject
void linkObject(O key, ManagedObjectFunctionDependency dependency)
Links in theManagedObjectFunctionDependencyto thisManagedFunction.- Parameters:
key- Key identifying the object.dependency-ManagedObjectFunctionDependency.
-
linkObject
void linkObject(int index, ManagedObjectFunctionDependency dependency)Links in theManagedObjectFunctionDependencyto thisManagedFunction.- Parameters:
index- Index identifying the object.dependency-ManagedObjectFunctionDependency.
-
linkManagedObject
void linkManagedObject(O key)
Links theManagedObjectinput by theManagedObjectSource.- Parameters:
key- Key identifying the object.
-
linkManagedObject
void linkManagedObject(int index)
Links theManagedObjectinput by theManagedObjectSource.- Parameters:
index- Index identifying the object.
-
linkFlow
void linkFlow(F key, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)
Links in aFlowto theManagedObjectSourceFlow.- Parameters:
key- Key identifying theFlow.flow-ManagedObjectSourceFlow.argumentType- Type of argument passed to the instigatedFlow. May benullto indicate no argument.isSpawnThreadState-trueto instigate theFlowin a spawnedThreadState.
-
linkFlow
void linkFlow(int flowIndex, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)- Parameters:
flowIndex- Index identifying theFlow.flow-ManagedObjectSourceFlow.argumentType- Type of argument passed to the instigatedFlow. May benullto indicate no argument.isSpawnThreadState-trueto instigate theFlowin a spawnedThreadState.
-
-