org.kohsuke.stapler.bind
Annotation Type JavaScriptMethod


@Retention(value=RUNTIME)
@Target(value=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

Optional Element Summary
 java.lang.String[] name
          JavaScript method name assigned to this method.
 

name

public abstract java.lang.String[] name
JavaScript method name assigned to this method.

If unspecified, defaults to the method name.

Default:
{}


Copyright © 2012. All Rights Reserved.