Class MethodManagedFunctionBuilder.MethodContext
- java.lang.Object
-
- net.officefloor.plugin.managedfunction.method.MethodManagedFunctionBuilder.MethodContext
-
- Direct Known Subclasses:
MethodManagedFunctionBuilder.MethodManagedFunctionFactoryContext
,MethodManagedFunctionBuilder.MethodManagedFunctionTypeContext
- Enclosing class:
- MethodManagedFunctionBuilder
public abstract static class MethodManagedFunctionBuilder.MethodContext extends java.lang.Object
Useful details regarding theMethod
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MethodContext(java.lang.String functionName, java.lang.reflect.Method method, MethodObjectInstanceFactory methodObjectInstanceFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFunctionName()
Obtains the name of theManagedFunction
for theMethod
.java.lang.reflect.Method
getMethod()
Obtains theMethod
.MethodObjectInstanceFactory
getMethodObjectInstanceFactory()
Obtains theMethodObjectInstanceFactory
.
-
-
-
Constructor Detail
-
MethodContext
protected MethodContext(java.lang.String functionName, java.lang.reflect.Method method, MethodObjectInstanceFactory methodObjectInstanceFactory)
Instantiate.- Parameters:
functionName
- Name ofManagedFunction
for theMethod
.method
-Method
.methodObjectInstanceFactory
-MethodObjectInstanceFactory
. Will benull
if static.
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
Obtains the name of theManagedFunction
for theMethod
.- Returns:
- Name of the
ManagedFunction
for theMethod
.
-
getMethod
public java.lang.reflect.Method getMethod()
Obtains theMethod
.- Returns:
Method
.
-
getMethodObjectInstanceFactory
public MethodObjectInstanceFactory getMethodObjectInstanceFactory()
Obtains theMethodObjectInstanceFactory
.- Returns:
MethodObjectInstanceFactory
ornull
if staticMethod
.
-
-