Package org.jenkinsci.plugins.pollscm
Class PollNowAction
- java.lang.Object
-
- org.jenkinsci.plugins.pollscm.PollNowAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class PollNowAction extends Object implements Action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollNowAction.TransientProjectActionFactoryImpl
-
Field Summary
Fields Modifier and Type Field Description static Permission
POLL
-
Constructor Summary
Constructors Constructor Description PollNowAction(SCMTriggerItem target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPolling(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Schedules a new SCM polling command.String
getDisplayName()
String
getIconFileName()
SCMTriggerItem
getOwner()
Trigger
getTrigger()
String
getUrlName()
-
-
-
Field Detail
-
POLL
public static final Permission POLL
-
-
Constructor Detail
-
PollNowAction
public PollNowAction(SCMTriggerItem target)
-
-
Method Detail
-
getTrigger
public Trigger getTrigger()
-
getOwner
public SCMTriggerItem getOwner()
-
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
-
doPolling
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void doPolling(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
Schedules a new SCM polling command.- Throws:
IOException
javax.servlet.ServletException
-
-