Interface ProcedureManagedFunctionContext
public interface ProcedureManagedFunctionContext
Context for the
ManagedFunctionProcedureSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionName of theProcedure.Obtains the resource configured to provide theProcedure.Obtains theSourceContext.<M extends Enum<M>,F extends Enum<F>>
ManagedFunctionTypeBuilder<M,F> setManagedFunction(ManagedFunctionFactory<M, F> functionFactory, Class<M> objectKeysClass, Class<F> flowKeysClass) Sets theManagedFunctionTypeBuilderfor theProcedure.
-
Method Details
-
getResource
String getResource()Obtains the resource configured to provide theProcedure.- Returns:
- Resource configured to provide the
Procedure.
-
getProcedureName
String getProcedureName()Name of theProcedure.- Returns:
- Name of the
Procedure.
-
getSourceContext
SourceContext getSourceContext()Obtains theSourceContext.- Returns:
SourceContext.
-
setManagedFunction
<M extends Enum<M>,F extends Enum<F>> ManagedFunctionTypeBuilder<M,F> setManagedFunction(ManagedFunctionFactory<M, F> functionFactory, Class<M> objectKeysClass, Class<F> flowKeysClass) Sets theManagedFunctionTypeBuilderfor theProcedure.- Type Parameters:
M- Dependency key type.F- Flow key type.- Parameters:
functionFactory-ManagedFunctionFactoryto create theManagedFunction.objectKeysClass-Enumproviding the keys of the dependentObjectinstances required by theManagedFunctionTypeBuilder. This may benullif theManagedFunctionTypeBuilderrequires no dependentObjectinstances or they areIndexed.flowKeysClass-Enumproviding the keys of theFlowinstigated by theManagedFunctionTypeBuilder. This may benullif theManagedFunctionTypeBuilderdoes not instigateFlowinstances or they areIndexed.- Returns:
ManagedFunctionTypeBuilderto providetype definitionof the addedManagedFunction.
-