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 definition
of aManagedFunction
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedFunctionEscalationType[]
getEscalationTypes()
Obtains theManagedFunctionEscalationType
definitions for the possibleEscalationFlow
instances by theManagedFunction
.java.lang.Class<F>
getFlowKeyClass()
ManagedFunctionFlowType<F>[]
getFlowTypes()
Obtains theManagedFunctionFlowType
definitions for the possibleFlow
instances instigated by theManagedFunction
.java.lang.String
getFunctionName()
Obtains the name of theManagedFunction
.ManagedFunctionFactory<M,F>
getManagedFunctionFactory()
Obtains theManagedFunctionFactory
.java.lang.Class<M>
getObjectKeyClass()
Obtains theEnum
providing the keys for the dependentObject
instances.ManagedFunctionObjectType<M>[]
getObjectTypes()
Obtains theManagedFunctionObjectType
definitions for the dependentObject
instances required by theManagedFunction
.java.lang.Class<?>
getReturnType()
Obtains the type name ofObject
returned from theManagedFunction
that 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 ofObject
returned from theManagedFunction
that is to be used as the argument to the nextManagedFunction
.- Returns:
- Return type name of the
ManagedFunction
.
-
getObjectKeyClass
java.lang.Class<M> getObjectKeyClass()
Obtains theEnum
providing the keys for the dependentObject
instances.- Returns:
Enum
providing the dependentObject
keys ornull
ifIndexed
or no dependencies.
-
getObjectTypes
ManagedFunctionObjectType<M>[] getObjectTypes()
Obtains theManagedFunctionObjectType
definitions for the dependentObject
instances required by theManagedFunction
.- Returns:
ManagedFunctionObjectType
definitions for the dependentObject
instances required by theManagedFunction
.
-
getFlowKeyClass
java.lang.Class<F> getFlowKeyClass()
-
getFlowTypes
ManagedFunctionFlowType<F>[] getFlowTypes()
Obtains theManagedFunctionFlowType
definitions for the possibleFlow
instances instigated by theManagedFunction
.- Returns:
ManagedFunctionFlowType
definitions for the possibleFlow
instances instigated by theManagedFunction
.
-
getEscalationTypes
ManagedFunctionEscalationType[] getEscalationTypes()
Obtains theManagedFunctionEscalationType
definitions for the possibleEscalationFlow
instances by theManagedFunction
.- Returns:
ManagedFunctionEscalationType
definitions for the possibleEscalationFlow
instances by theManagedFunction
.
-
-