Class MethodManagedFunctionBuilder.MethodManagedFunctionTypeContext
- java.lang.Object
-
- net.officefloor.plugin.managedfunction.clazz.MethodManagedFunctionBuilder.MethodContext
-
- net.officefloor.plugin.managedfunction.clazz.MethodManagedFunctionBuilder.MethodManagedFunctionTypeContext
-
- Enclosing class:
- MethodManagedFunctionBuilder
public static class MethodManagedFunctionBuilder.MethodManagedFunctionTypeContext extends MethodManagedFunctionBuilder.MethodContext
Context for creating theManagedFunctionTypeBuilder
.
-
-
Constructor Summary
Constructors Constructor Description MethodManagedFunctionTypeContext(java.lang.String functionName, java.lang.reflect.Method method, java.lang.Class<?> instanceClass, MethodObjectInstanceFactory methodObjectInstanceFactory, ManagedFunctionFactory<Indexed,Indexed> functionFactory, FunctionNamespaceBuilder namespaceBuilder, Sequence objectSequence, Sequence flowSequence)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedFunctionFactory<Indexed,Indexed>
getFunctionFactory()
Obtains theManagedFunctionFactory
.FunctionNamespaceBuilder
getNamespaceBuilder()
Obtains theFunctionNamespaceBuilder
.int
nextFlowIndex()
Obtains the nextFlow
index.int
nextObjectIndex()
Obtains the nextObject
index.-
Methods inherited from class net.officefloor.plugin.managedfunction.clazz.MethodManagedFunctionBuilder.MethodContext
getFunctionName, getInstanceClass, getMethod, getMethodObjectInstanceFactory
-
-
-
-
Constructor Detail
-
MethodManagedFunctionTypeContext
public MethodManagedFunctionTypeContext(java.lang.String functionName, java.lang.reflect.Method method, java.lang.Class<?> instanceClass, MethodObjectInstanceFactory methodObjectInstanceFactory, ManagedFunctionFactory<Indexed,Indexed> functionFactory, FunctionNamespaceBuilder namespaceBuilder, Sequence objectSequence, Sequence flowSequence)
Instantiate.- Parameters:
functionName
- Name ofManagedFunction
for theMethod
.method
-Method
.instanceClass
-Class
for the instance containing theMethod
.methodObjectInstanceFactory
-MethodObjectInstanceFactory
. Will benull
if static.functionFactory
-ManagedFunctionFactory
.namespaceBuilder
-FunctionNamespaceBuilder
.objectSequence
-Sequence
forObject
indexes.flowSequence
-Sequence
for theFlow
indexes.
-
-
Method Detail
-
getFunctionFactory
public ManagedFunctionFactory<Indexed,Indexed> getFunctionFactory()
Obtains theManagedFunctionFactory
.- Returns:
ManagedFunctionFactory
.
-
getNamespaceBuilder
public FunctionNamespaceBuilder getNamespaceBuilder()
Obtains theFunctionNamespaceBuilder
.- Returns:
FunctionNamespaceBuilder
.
-
nextObjectIndex
public int nextObjectIndex()
Obtains the nextObject
index.- Returns:
- Next
Object
index.
-
-