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 theManagedFunction
necessary for theManagedObjectSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
linkFlow(int flowIndex, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)
void
linkFlow(F key, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)
Links in aFlow
to theManagedObjectSourceFlow
.void
linkManagedObject(int index)
Links theManagedObject
input by theManagedObjectSource
.void
linkManagedObject(O key)
Links theManagedObject
input by theManagedObjectSource
.void
linkObject(int index, ManagedObjectFunctionDependency dependency)
Links in theManagedObjectFunctionDependency
to thisManagedFunction
.void
linkObject(O key, ManagedObjectFunctionDependency dependency)
Links in theManagedObjectFunctionDependency
to thisManagedFunction
.void
linkParameter(int index, java.lang.Class<?> parameterType)
Links in the parameter for thisManagedFunction
.void
linkParameter(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 theManagedObjectFunctionDependency
to thisManagedFunction
.- Parameters:
key
- Key identifying the object.dependency
-ManagedObjectFunctionDependency
.
-
linkObject
void linkObject(int index, ManagedObjectFunctionDependency dependency)
Links in theManagedObjectFunctionDependency
to thisManagedFunction
.- Parameters:
index
- Index identifying the object.dependency
-ManagedObjectFunctionDependency
.
-
linkManagedObject
void linkManagedObject(O key)
Links theManagedObject
input by theManagedObjectSource
.- Parameters:
key
- Key identifying the object.
-
linkManagedObject
void linkManagedObject(int index)
Links theManagedObject
input by theManagedObjectSource
.- Parameters:
index
- Index identifying the object.
-
linkFlow
void linkFlow(F key, ManagedObjectSourceFlow flow, java.lang.Class<?> argumentType, boolean isSpawnThreadState)
Links in aFlow
to theManagedObjectSourceFlow
.- Parameters:
key
- Key identifying theFlow
.flow
-ManagedObjectSourceFlow
.argumentType
- Type of argument passed to the instigatedFlow
. May benull
to indicate no argument.isSpawnThreadState
-true
to instigate theFlow
in 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 benull
to indicate no argument.isSpawnThreadState
-true
to instigate theFlow
in a spawnedThreadState
.
-
-