Interface ManagedFunctionType<M extends java.lang.Enum<M>,F extends java.lang.Enum<F>>
-
- All Superinterfaces:
AnnotatedType
- All Known Implementing Classes:
ManagedFunctionTypeImpl
public interface ManagedFunctionType<M extends java.lang.Enum<M>,F extends java.lang.Enum<F>> extends AnnotatedType
Type definitionof aManagedFunction.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedFunctionEscalationType[]getEscalationTypes()Obtains theManagedFunctionEscalationTypedefinitions for the possibleEscalationFlowinstances by theManagedFunction.java.lang.Class<F>getFlowKeyClass()ManagedFunctionFlowType<F>[]getFlowTypes()Obtains theManagedFunctionFlowTypedefinitions for the possibleFlowinstances instigated by theManagedFunction.java.lang.StringgetFunctionName()Obtains the name of theManagedFunction.ManagedFunctionFactory<M,F>getManagedFunctionFactory()Obtains theManagedFunctionFactory.java.lang.Class<M>getObjectKeyClass()Obtains theEnumproviding the keys for the dependentObjectinstances.ManagedFunctionObjectType<M>[]getObjectTypes()Obtains theManagedFunctionObjectTypedefinitions for the dependentObjectinstances required by theManagedFunction.java.lang.Class<?>getReturnType()Obtains the type name ofObjectreturned from theManagedFunctionthat is to be used as the argument to the nextManagedFunction.-
Methods inherited from interface net.officefloor.compile.type.AnnotatedType
getAnnotation, getAnnotations, getAnnotations
-
-
-
-
Method Detail
-
getFunctionName
java.lang.String getFunctionName()
Obtains the name of theManagedFunction.- Returns:
- Name of the
ManagedFunction.
-
getManagedFunctionFactory
ManagedFunctionFactory<M,F> getManagedFunctionFactory()
Obtains theManagedFunctionFactory.- Returns:
ManagedFunctionFactory.
-
getReturnType
java.lang.Class<?> getReturnType()
Obtains the type name ofObjectreturned from theManagedFunctionthat is to be used as the argument to the nextManagedFunction.- Returns:
- Return type name of the
ManagedFunction.
-
getObjectKeyClass
java.lang.Class<M> getObjectKeyClass()
Obtains theEnumproviding the keys for the dependentObjectinstances.- Returns:
Enumproviding the dependentObjectkeys ornullifIndexedor no dependencies.
-
getObjectTypes
ManagedFunctionObjectType<M>[] getObjectTypes()
Obtains theManagedFunctionObjectTypedefinitions for the dependentObjectinstances required by theManagedFunction.- Returns:
ManagedFunctionObjectTypedefinitions for the dependentObjectinstances required by theManagedFunction.
-
getFlowKeyClass
java.lang.Class<F> getFlowKeyClass()
-
getFlowTypes
ManagedFunctionFlowType<F>[] getFlowTypes()
Obtains theManagedFunctionFlowTypedefinitions for the possibleFlowinstances instigated by theManagedFunction.- Returns:
ManagedFunctionFlowTypedefinitions for the possibleFlowinstances instigated by theManagedFunction.
-
getEscalationTypes
ManagedFunctionEscalationType[] getEscalationTypes()
Obtains theManagedFunctionEscalationTypedefinitions for the possibleEscalationFlowinstances by theManagedFunction.- Returns:
ManagedFunctionEscalationTypedefinitions for the possibleEscalationFlowinstances by theManagedFunction.
-
-