Class ObjectParameterFactory
- java.lang.Object
-
- net.officefloor.plugin.managedfunction.method.parameter.ObjectParameterFactory
-
- All Implemented Interfaces:
MethodParameterFactory
- Direct Known Subclasses:
InParameterFactory
,OutParameterFactory
,ValueParameterFactory
,VariableParameterFactory
public class ObjectParameterFactory extends java.lang.Object implements MethodParameterFactory
MethodParameterFactory
for anObject
.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected int
objectIndex
Index of theObject
.
-
Constructor Summary
Constructors Constructor Description ObjectParameterFactory(int objectIndex)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createParameter(ManagedFunctionContext<?,?> context)
Creates the parameter from theManagedFunctionContext
.
-
-
-
Method Detail
-
createParameter
public java.lang.Object createParameter(ManagedFunctionContext<?,?> context)
Description copied from interface:MethodParameterFactory
Creates the parameter from theManagedFunctionContext
.- Specified by:
createParameter
in interfaceMethodParameterFactory
- Parameters:
context
-ManagedFunctionContext
.- Returns:
- Parameter.
-
-