Package org.kohsuke.stapler.bind
Annotation Type JavaScriptMethod
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface JavaScriptMethod
Indicates that the method is exposed to client-side JavaScript proxies and is callable as a method from them.This annotation is assumed to be implicit on every public methods that start with 'js', like 'jsFoo' or 'jsBar', but you can use this annotation on those methods to assign different names.
- Author:
- Kohsuke Kawaguchi
-
-
Element Detail
-
name
String[] name
JavaScript method name assigned to this method.If unspecified, defaults to the method name.
- Default:
- {}
-
-