Class RunApi
- java.lang.Object
-
- io.jenkins.plugins.devopsportal.api.RunApi
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
@Extension public class RunApi extends Object implements RootAction
The API controller for all operations about RUN features- Author:
- RĂ©mi BELLO <remi@evolya.fr>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RunApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
deleteRunOperation(String environment, String job, String number, String origin)
DeploymentOperation.DescriptorImpl
getDescriptor()
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
-
-
Method Detail
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getDescriptor
public DeploymentOperation.DescriptorImpl getDescriptor()
-
deleteRunOperation
@POST @WebMethod(name="delete-operation") public org.kohsuke.stapler.HttpResponse deleteRunOperation(@QueryParameter(required=true) String environment, @QueryParameter(required=true) String job, @QueryParameter(required=true) String number, @QueryParameter(required=true) String origin)
-
-