public class FunctionAction extends Object implements PojoAction
FunctionAction class.
| Constructor and Description |
|---|
FunctionAction(Class<?> clazz,
Method action,
String name,
FunctionAttribute<Object> parent)
Constructor for FunctionAction.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
doExecute(Object pojo,
Object... args)
doExecute.
|
Annotation |
getAnnotation(Class<? extends Annotation> annotationClass)
getAnnotation.
|
Class<?> |
getManagedClass()
getManagedClass.
|
String |
getName()
getName.
|
Class<?>[] |
getParameterType()
getParameterType.
|
Class<?> |
getReturnType()
getReturnType.
|
public FunctionAction(Class<?> clazz, Method action, String name, FunctionAttribute<Object> parent)
Constructor for FunctionAction.
clazz - a Class object.action - a Method object.name - a String object.parent - a FunctionAttribute object.public String getName()
getName.
getName in interface PojoActionString object.public Object doExecute(Object pojo, Object... args) throws IOException
doExecute.
doExecute in interface PojoActionpojo - a Object object.args - a Object object.Object object.IOExceptionpublic Annotation getAnnotation(Class<? extends Annotation> annotationClass)
getAnnotation.
getAnnotation in interface PojoActionannotationClass - a Class object.Annotation object.public Class<?> getManagedClass()
getManagedClass.
getManagedClass in interface PojoActionClass object.public Class<?> getReturnType()
getReturnType.
getReturnType in interface PojoActionClass object.public Class<?>[] getParameterType()
getParameterType.
getParameterType in interface PojoActionClass objects.Copyright © 2016. All Rights Reserved.