Class FunctionNamespaceTypeImpl
java.lang.Object
net.officefloor.compile.impl.managedfunction.FunctionNamespaceTypeImpl
- All Implemented Interfaces:
FunctionNamespaceType,FunctionNamespaceBuilder
public class FunctionNamespaceTypeImpl
extends Object
implements FunctionNamespaceType, FunctionNamespaceBuilder
FunctionNamespaceType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<M extends Enum<M>,F extends Enum<F>>
ManagedFunctionTypeBuilder<M,F> addManagedFunctionType(String taskName, Class<M> objectKeysClass, Class<F> flowKeysClass) Adds aManagedFunctionTypeBuilderto thisFunctionNamespaceBuilderdefinition.ManagedFunctionType<?,?>[] Obtains theManagedFunctionTypedefinitions.
-
Constructor Details
-
FunctionNamespaceTypeImpl
public FunctionNamespaceTypeImpl()
-
-
Method Details
-
addManagedFunctionType
public <M extends Enum<M>,F extends Enum<F>> ManagedFunctionTypeBuilder<M,F> addManagedFunctionType(String taskName, Class<M> objectKeysClass, 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
Description copied from interface:FunctionNamespaceTypeObtains theManagedFunctionTypedefinitions.- Specified by:
getManagedFunctionTypesin interfaceFunctionNamespaceType- Returns:
ManagedFunctionTypedefinitions.
-