Interface ManagedFunctionMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
-
- All Superinterfaces:
ManagedFunctionLogicMetaData
- All Known Implementing Classes:
ManagedFunctionMetaDataImpl
public interface ManagedFunctionMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends ManagedFunctionLogicMetaData
Meta-data for theManagedFunction
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]
getAnnotations()
Obtains the annotations for theManagedFunction
.java.util.logging.Logger
getLogger()
Obtains theLogger
forManagedFunctionContext
.ManagedFunctionFactory<O,F>
getManagedFunctionFactory()
ManagedObjectIndex
getManagedObject(int managedObjectIndex)
Obtains theManagedObjectIndex
for theManagedFunction
index.ManagedObjectMetaData<?>[]
getManagedObjectMetaData()
Obtains the meta-data of theManagedObject
instances bound to theManagedFunction
.java.lang.Class<?>
getParameterType()
Obtains the parameter type for theManagedFunction
.ManagedFunctionAdministrationMetaData<?,?,?>[]
getPostAdministrationMetaData()
Meta-data of theAdministration
to undertake after executing theManagedFunction
.ManagedFunctionAdministrationMetaData<?,?,?>[]
getPreAdministrationMetaData()
Meta-data of theAdministration
to undertake before executing theManagedFunction
.boolean[]
getRequiredGovernance()
Obtains the activation flags for theGovernance
.ManagedObjectIndex[]
getRequiredManagedObjects()
Obtains theManagedObjectIndex
instances identifying theManagedObject
instances that must be loaded before theManagedFunction
may be executed.-
Methods inherited from interface net.officefloor.frame.internal.structure.ManagedFunctionLogicMetaData
getAsynchronousFlowManagerReference, getAsynchronousFlowTimeout, getEscalationProcedure, getFlow, getFunctionName, getNextManagedFunctionMetaData, getOfficeMetaData, getResponsibleTeam
-
-
-
-
Method Detail
-
getManagedFunctionFactory
ManagedFunctionFactory<O,F> getManagedFunctionFactory()
- Returns:
ManagedFunctionFactory
-
getAnnotations
java.lang.Object[] getAnnotations()
Obtains the annotations for theManagedFunction
.- Returns:
- Annotations.
-
getParameterType
java.lang.Class<?> getParameterType()
Obtains the parameter type for theManagedFunction
.- Returns:
- Parameter type for the
ManagedFunction
. May benull
to indicate no parameter.
-
getLogger
java.util.logging.Logger getLogger()
Obtains theLogger
forManagedFunctionContext
.- Returns:
Logger
forManagedFunctionContext
.
-
getRequiredManagedObjects
ManagedObjectIndex[] getRequiredManagedObjects()
Obtains the
ManagedObjectIndex
instances identifying theManagedObject
instances that must be loaded before theManagedFunction
may be executed.The order of the
ManagedObjectIndex
instances must be respected as they are sorted to enable appropriateCoordinatingManagedObject
to co-ordinate with dependencies.- Returns:
- Listing of
ManagedObjectIndex
instances.
-
getRequiredGovernance
boolean[] getRequiredGovernance()
Obtains the activation flags for theGovernance
. The index into the array identifies theGovernance
for the respective activation flag.- Returns:
- Activation flags for the
Governance
.
-
getManagedObject
ManagedObjectIndex getManagedObject(int managedObjectIndex)
Obtains theManagedObjectIndex
for theManagedFunction
index.- Parameters:
managedObjectIndex
-ManagedObjectIndex
for theManagedFunction
index.- Returns:
ManagedObjectIndex
to obtain theManagedObject
for theManagedFunction
.
-
getManagedObjectMetaData
ManagedObjectMetaData<?>[] getManagedObjectMetaData()
Obtains the meta-data of theManagedObject
instances bound to theManagedFunction
.- Returns:
- Meta-data of the
ManagedObject
instances bound to theManagedFunction
.
-
getPreAdministrationMetaData
ManagedFunctionAdministrationMetaData<?,?,?>[] getPreAdministrationMetaData()
Meta-data of theAdministration
to undertake before executing theManagedFunction
.- Returns:
- Listing of the
Administration
instances to undertake before executing theManagedFunction
.
-
getPostAdministrationMetaData
ManagedFunctionAdministrationMetaData<?,?,?>[] getPostAdministrationMetaData()
Meta-data of theAdministration
to undertake after executing theManagedFunction
.- Returns:
- Listing the
Administration
instances to undertake after executing theManagedFunction
.
-
-