Package io.jenkins.plugins.designlibrary
Class JavaScriptProxy
java.lang.Object
io.jenkins.plugins.designlibrary.UISample
io.jenkins.plugins.designlibrary.JavaScriptProxy
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<UISample>
,ModelObject
"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 Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDefault display name.int
increment
(int n) The annotation exposes this method to JavaScript proxy.Methods inherited from class io.jenkins.plugins.designlibrary.UISample
getAll, getDescriptor, getIconFileName, getNextPage, getPreviousPage, getPrismConfiguration, getUrlName
-
Constructor Details
-
JavaScriptProxy
public JavaScriptProxy()
-
-
Method Details
-
getDisplayName
Description copied from class:UISample
Default display name.- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classUISample
-
increment
@JavaScriptMethod public int increment(int n) The annotation exposes this method to JavaScript proxy.
-