Class RemoteResultJsonApi
java.lang.Object
io.jenkins.plugins.remote.result.trigger.RemoteResultJsonApi
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
- Author:
- heweisc@dingtalk.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSince there is no HTML/Jelly rendering, no display name is needed.Since there is no HTML/Jelly rendering, no icons are needed.org.kohsuke.stapler.json.JsonHttpResponse
getUrlName() is the root of the JSON API.
-
Constructor Details
-
RemoteResultJsonApi
public RemoteResultJsonApi()
-
-
Method Details
-
getIconFileName
Since there is no HTML/Jelly rendering, no icons are needed.- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
Since there is no HTML/Jelly rendering, no display name is needed.- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
getUrlName() is the root of the JSON API. Each WebMethod in the class is prefixed by this.- Specified by:
getUrlName
in interfaceAction
-
getResult
@GET @WebMethod(name="result.json") public org.kohsuke.stapler.json.JsonHttpResponse getResult(@QueryParameter String buildUrl)
-