hudson.plugins.ui_samples
Class JavaScriptProxy
java.lang.Object
hudson.plugins.ui_samples.UISample
hudson.plugins.ui_samples.JavaScriptProxy
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.Describable<UISample>, hudson.model.ModelObject
@Extension
public class JavaScriptProxy
- extends UISample
"Export" Java objects to JavaScript in the browser as a proxy object, so that
you can make ajax-calls to the server later.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
String |
getDescription()
Returns a paragraph of natural text that describes this sample. |
int |
increment(int n)
The annotation exposes this method to JavaScript proxy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptProxy
public JavaScriptProxy()
getDescription
public String getDescription()
- Description copied from class:
UISample
- Returns a paragraph of natural text that describes this sample.
Interpreted as HTML.
- Specified by:
getDescription in class UISample
increment
@JavaScriptMethod
public int increment(int n)
- The annotation exposes this method to JavaScript proxy.
Copyright © 2004-2011. All Rights Reserved.