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