- All Superinterfaces:
FunctionFlowContext<F>
public interface AdministrationContext<E,F extends Enum<F>,G extends Enum<G>>
extends FunctionFlowContext<F>
Context in which the
Administration executes.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionE[]Obtains the particular extensions.getGovernance(int governanceIndex) Obtains theGovernanceManagerfor the index.getGovernance(G key) Obtains theGovernanceManagerfor the particular key.Object[]Obtains the annotations on theManagedFunctionbeing administered.Methods inherited from interface net.officefloor.frame.api.function.FunctionFlowContext
createAsynchronousFlow, doFlow, doFlow, getExecutor, getLogger
-
Method Details
-
getManagedFunctionAnnotations
Object[] getManagedFunctionAnnotations()Obtains the annotations on the
ManagedFunctionbeing administered.This allows for reflective
Administration.- Returns:
- Annotations on the
ManagedFunctionbeing administered.
-
getExtensions
E[] getExtensions()Obtains the particular extensions.- Returns:
- Extension for the
ManagedObjectinstances to be administered.
-
getGovernance
Obtains theGovernanceManagerfor the particular key.- Parameters:
key- Key identifying theGovernanceManager.- Returns:
GovernanceManager.
-
getGovernance
Obtains theGovernanceManagerfor the index.- Parameters:
governanceIndex- Index identifying theGovernanceManager.- Returns:
GovernanceManager.
-