Package io.jenkins.plugins.emergencystop
Class SimpleEmergencyStopAction
java.lang.Object
io.jenkins.plugins.emergencystop.SimpleEmergencyStopAction
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,RootAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoStop(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) intintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.RootAction
getBadge, isPrimaryAction
-
Constructor Details
-
SimpleEmergencyStopAction
public SimpleEmergencyStopAction()
-
-
Method Details
-
getStoppedPipelines
public int getStoppedPipelines() -
getNotStoppedPipelines
public int getNotStoppedPipelines() -
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
doStop
@POST public void doStop(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-