- All Superinterfaces:
FlowBuilder<F>,FunctionBuilder<F>
public interface ManagedObjectFunctionBuilder<O extends Enum<O>,F extends Enum<F>>
extends FlowBuilder<F>
Builds the
ManagedFunction necessary for the
ManagedObjectSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidlinkFlow(int flowIndex, ManagedObjectSourceFlow flow, Class<?> argumentType, boolean isSpawnThreadState) voidlinkFlow(F key, ManagedObjectSourceFlow flow, 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, Class<?> parameterType) Links in the parameter for thisManagedFunction.voidlinkParameter(O key, Class<?> parameterType) Links in the parameter for thisManagedFunction.Methods inherited from interface net.officefloor.frame.api.build.FlowBuilder
setNextFunctionMethods inherited from interface net.officefloor.frame.api.build.FunctionBuilder
addEscalation, linkFlow, linkFlow, setResponsibleTeam
-
Method Details
-
linkParameter
Links in the parameter for thisManagedFunction.- Parameters:
key- Key identifying the object.parameterType- Type of the parameter.
-
linkParameter
Links in the parameter for thisManagedFunction.- Parameters:
index- Index identifying the object.parameterType- Type of the parameter.
-
linkObject
Links in theManagedObjectFunctionDependencyto thisManagedFunction.- Parameters:
key- Key identifying the object.dependency-ManagedObjectFunctionDependency.
-
linkObject
Links in theManagedObjectFunctionDependencyto thisManagedFunction.- Parameters:
index- Index identifying the object.dependency-ManagedObjectFunctionDependency.
-
linkManagedObject
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, 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, 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.
-