|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.stapler.Function
public abstract class Function
Abstracts the difference between normal instance methods and static duck-typed methods.
Constructor Summary | |
---|---|
Function()
|
Method Summary | ||
---|---|---|
abstract
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Function()
Method Detail |
---|
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
IllegalAccessException
InvocationTargetException
public abstract <A extends Annotation> A getAnnotation(Class<A> annotation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |