public class ScheduleBuildAction extends Object implements Action, org.kohsuke.stapler.StaplerProxy
| Constructor and Description |
|---|
ScheduleBuildAction(Job<?,?> target) |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckDate(String date,
Item item) |
org.kohsuke.stapler.HttpResponse |
doNext(org.kohsuke.stapler.StaplerRequest req,
Item item) |
String |
getDefaultDate() |
Date |
getDefaultDateObject() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getIconPath() |
Job<?,?> |
getOwner() |
long |
getQuietPeriodInSeconds() |
Object |
getTarget() |
String |
getUrlName() |
boolean |
isJobParameterized() |
boolean |
schedule(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
public ScheduleBuildAction(Job<?,?> target)
public Job<?,?> getOwner()
public String getIconFileName()
getIconFileName in interface Actionpublic String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface Actionpublic boolean schedule(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws Descriptor.FormException
Descriptor.FormExceptionpublic Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic String getIconPath()
public String getDefaultDate()
public Date getDefaultDateObject()
public FormValidation doCheckDate(@QueryParameter String date, @AncestorInPath Item item)
public long getQuietPeriodInSeconds()
public org.kohsuke.stapler.HttpResponse doNext(org.kohsuke.stapler.StaplerRequest req,
@AncestorInPath
Item item)
throws Descriptor.FormException,
javax.servlet.ServletException,
IOException
Descriptor.FormExceptionjavax.servlet.ServletExceptionIOExceptionpublic boolean isJobParameterized()
Copyright © 2016–2021. All rights reserved.