|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.ui_samples.UISample
hudson.plugins.ui_samples.JavaScriptProxy
@Extension public class JavaScriptProxy
"Export" Java objects to JavaScript in the browser as a proxy object, so that you can make ajax-calls to the server later.
| Nested Class Summary | |
|---|---|
static class |
JavaScriptProxy.DescriptorImpl
|
| Nested classes/interfaces inherited from class hudson.plugins.ui_samples.UISample |
|---|
UISample.SourceFile |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
JavaScriptProxy()
|
|
| Method Summary | |
|---|---|
java.lang.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 hudson.plugins.ui_samples.UISample |
|---|
all, doSourceFile, getDescriptor, getDisplayName, getIconFileName, getSourceFiles, getUrlName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptProxy()
| Method Detail |
|---|
public java.lang.String getDescription()
UISample
getDescription in class UISample@JavaScriptMethod public int increment(int n)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||