Class FunctionNamespaceTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.managedfunction.FunctionNamespaceTypeImpl
-
- All Implemented Interfaces:
FunctionNamespaceType,FunctionNamespaceBuilder
public class FunctionNamespaceTypeImpl extends java.lang.Object implements FunctionNamespaceType, FunctionNamespaceBuilder
FunctionNamespaceTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FunctionNamespaceTypeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <M extends java.lang.Enum<M>,F extends java.lang.Enum<F>>
ManagedFunctionTypeBuilder<M,F>addManagedFunctionType(java.lang.String taskName, java.lang.Class<M> objectKeysClass, java.lang.Class<F> flowKeysClass)Adds aManagedFunctionTypeBuilderto thisFunctionNamespaceBuilderdefinition.ManagedFunctionType<?,?>[]getManagedFunctionTypes()Obtains theManagedFunctionTypedefinitions.
-
-
-
Method Detail
-
addManagedFunctionType
public <M extends java.lang.Enum<M>,F extends java.lang.Enum<F>> ManagedFunctionTypeBuilder<M,F> addManagedFunctionType(java.lang.String taskName, java.lang.Class<M> objectKeysClass, java.lang.Class<F> flowKeysClass)
Description copied from interface:FunctionNamespaceBuilderAdds aManagedFunctionTypeBuilderto thisFunctionNamespaceBuilderdefinition.- Specified by:
addManagedFunctionTypein interfaceFunctionNamespaceBuilder- Type Parameters:
M- Dependency key type.F- Flow key type.- Parameters:
taskName- 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.
-
getManagedFunctionTypes
public ManagedFunctionType<?,?>[] getManagedFunctionTypes()
Description copied from interface:FunctionNamespaceTypeObtains theManagedFunctionTypedefinitions.- Specified by:
getManagedFunctionTypesin interfaceFunctionNamespaceType- Returns:
ManagedFunctionTypedefinitions.
-
-