Package io.jenkins.plugins.api
Class ZSConnectionConfigAPI
- java.lang.Object
-
- io.jenkins.plugins.api.ZSConnectionConfigAPI
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
@Extension public class ZSConnectionConfigAPI extends Object implements RootAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ZSConnectionConfigAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.json.JsonHttpResponse
doCreate(ZSConnection configuration)
org.kohsuke.stapler.json.JsonHttpResponse
doReset()
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doCreate
@POST @WebMethod(name="settings") public org.kohsuke.stapler.json.JsonHttpResponse doCreate(@JsonBody ZSConnection configuration)
-
doReset
@POST @WebMethod(name="reset") public org.kohsuke.stapler.json.JsonHttpResponse doReset()
-
-