Package net.officefloor.frame.api.manage
Interface FunctionManager
-
- All Known Implementing Classes:
FunctionManagerImpl
public interface FunctionManagerInterface to manage a particularManagedFunction.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]getAnnotations()Obtains the annotations for thisManagedFunction.java.lang.Class<?>getParameterType()Obtains the parameter type for invoking thisManagedFunction.ProcessManagerinvokeProcess(java.lang.Object parameter, FlowCallback callback)
-
-
-
Method Detail
-
getAnnotations
java.lang.Object[] getAnnotations()
Obtains the annotations for thisManagedFunction.- Returns:
- Annotations for this
ManagedFunction.
-
getParameterType
java.lang.Class<?> getParameterType()
Obtains the parameter type for invoking thisManagedFunction.- Returns:
- Parameter type for invoking the
ManagedFunction. Will benullif no parameter to theManagedFunction.
-
invokeProcess
ProcessManager invokeProcess(java.lang.Object parameter, FlowCallback callback) throws InvalidParameterTypeException
- Parameters:
parameter- Parameter for theManagedFunction.callback- OptionalFlowCallback. May benull.- Returns:
ProcessManagerto manage theProcessState.- Throws:
InvalidParameterTypeException- Should the parameter be of incorrect type for theManagedFunction.
-
-