public abstract class Function
extends java.lang.Object
Constructor and Description |
---|
Function() |
Modifier and Type | Method and Description |
---|---|
abstract <A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotation) |
abstract java.lang.String |
getDisplayName()
Gets the human readable name of this function.
|
abstract java.lang.reflect.Type[] |
getGenericParameterTypes() |
abstract java.lang.String |
getName()
Gets the method name.
|
abstract java.lang.annotation.Annotation[][] |
getParameterAnnotations()
Gets the annotations on parameters.
|
abstract java.lang.String[] |
getParameterNames()
Gets the list of parameter names.
|
abstract java.lang.Class[] |
getParameterTypes()
Gets the type of parameters in a single array.
|
abstract java.lang.String |
getQualifiedName()
Gets "className.methodName"
|
abstract java.lang.Class |
getReturnType()
Return type of the method.
|
abstract java.lang.Object |
invoke(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object o,
java.lang.Object... args)
Invokes the method.
|
static java.lang.Object |
returnNull() |
public abstract java.lang.String getName()
public abstract java.lang.String getDisplayName()
public abstract java.lang.String getQualifiedName()
public abstract java.lang.Class[] getParameterTypes()
public abstract java.lang.reflect.Type[] getGenericParameterTypes()
public abstract java.lang.annotation.Annotation[][] getParameterAnnotations()
public abstract java.lang.String[] getParameterNames()
public abstract java.lang.Class getReturnType()
public static java.lang.Object returnNull()
public abstract java.lang.Object invoke(StaplerRequest req, StaplerResponse rsp, java.lang.Object o, java.lang.Object... args) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public abstract <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotation)
Copyright © 2012. All Rights Reserved.