Interface FunctionNamespaceBuilder
- All Known Implementing Classes:
FunctionNamespaceTypeImpl
public interface FunctionNamespaceBuilder
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<M extends Enum<M>,F extends Enum<F>>
ManagedFunctionTypeBuilder<M,F> addManagedFunctionType(String functionName, Class<M> objectKeysClass, Class<F> flowKeysClass) Adds aManagedFunctionTypeBuilderto thisFunctionNamespaceBuilderdefinition.
-
Method Details
-
addManagedFunctionType
<M extends Enum<M>,F extends Enum<F>> ManagedFunctionTypeBuilder<M,F> addManagedFunctionType(String functionName, Class<M> objectKeysClass, Class<F> flowKeysClass) Adds aManagedFunctionTypeBuilderto thisFunctionNamespaceBuilderdefinition.- Type Parameters:
M- Dependency key type.F- Flow key type.- Parameters:
functionName- Name of 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.
-