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.concurrent.ExecutorgetExecutor()Obtains theExecutorforManagedFunctionContext.java.util.logging.LoggergetLogger()Obtains theLoggerforManagedFunctionContext.ManagedFunctionFactory<O,F>getManagedFunctionFactory()ManagedObjectIndexgetManagedObject(int managedObjectIndex)Obtains theManagedObjectIndexfor theManagedFunctionindex.ManagedObjectMetaData<?>[]getManagedObjectMetaData()Obtains the meta-data of theManagedObjectinstances bound to theManagedFunction.java.lang.Class<?>getParameterType()Obtains the parameter type for theManagedFunction.ManagedFunctionAdministrationMetaData<?,?,?>[]getPostAdministrationMetaData()Meta-data of theAdministrationto undertake after executing theManagedFunction.ManagedFunctionAdministrationMetaData<?,?,?>[]getPreAdministrationMetaData()Meta-data of theAdministrationto undertake before executing theManagedFunction.boolean[]getRequiredGovernance()Obtains the activation flags for theGovernance.ManagedObjectIndex[]getRequiredManagedObjects()Obtains theManagedObjectIndexinstances identifying theManagedObjectinstances that must be loaded before theManagedFunctionmay be executed.-
Methods inherited from interface net.officefloor.frame.internal.structure.ManagedFunctionLogicMetaData
getAsynchronousFlowManager, 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 benullto indicate no parameter.
-
getLogger
java.util.logging.Logger getLogger()
Obtains theLoggerforManagedFunctionContext.- Returns:
LoggerforManagedFunctionContext.
-
getExecutor
java.util.concurrent.Executor getExecutor()
Obtains theExecutorforManagedFunctionContext.- Returns:
ExecutorforManagedFunctionContext.
-
getRequiredManagedObjects
ManagedObjectIndex[] getRequiredManagedObjects()
Obtains the
ManagedObjectIndexinstances identifying theManagedObjectinstances that must be loaded before theManagedFunctionmay be executed.The order of the
ManagedObjectIndexinstances must be respected as they are sorted to enable appropriateCoordinatingManagedObjectto co-ordinate with dependencies.- Returns:
- Listing of
ManagedObjectIndexinstances.
-
getRequiredGovernance
boolean[] getRequiredGovernance()
Obtains the activation flags for theGovernance. The index into the array identifies theGovernancefor the respective activation flag.- Returns:
- Activation flags for the
Governance.
-
getManagedObject
ManagedObjectIndex getManagedObject(int managedObjectIndex)
Obtains theManagedObjectIndexfor theManagedFunctionindex.- Parameters:
managedObjectIndex-ManagedObjectIndexfor theManagedFunctionindex.- Returns:
ManagedObjectIndexto obtain theManagedObjectfor theManagedFunction.
-
getManagedObjectMetaData
ManagedObjectMetaData<?>[] getManagedObjectMetaData()
Obtains the meta-data of theManagedObjectinstances bound to theManagedFunction.- Returns:
- Meta-data of the
ManagedObjectinstances bound to theManagedFunction.
-
getPreAdministrationMetaData
ManagedFunctionAdministrationMetaData<?,?,?>[] getPreAdministrationMetaData()
Meta-data of theAdministrationto undertake before executing theManagedFunction.- Returns:
- Listing of the
Administrationinstances to undertake before executing theManagedFunction.
-
getPostAdministrationMetaData
ManagedFunctionAdministrationMetaData<?,?,?>[] getPostAdministrationMetaData()
Meta-data of theAdministrationto undertake after executing theManagedFunction.- Returns:
- Listing the
Administrationinstances to undertake after executing theManagedFunction.
-
-