Class PollNowAction

java.lang.Object
org.jenkinsci.plugins.pollscm.PollNowAction
All Implemented Interfaces:
Action, ModelObject

public class PollNowAction extends Object implements Action
  • Field Details

  • Constructor Details

  • Method Details

    • getTrigger

      public Trigger getTrigger()
    • getOwner

      public SCMTriggerItem getOwner()
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • doPolling

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void doPolling(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException
      Schedules a new SCM polling command.
      Throws:
      IOException
      jakarta.servlet.ServletException