Class ScheduleBuildAction
- java.lang.Object
-
- org.jenkinsci.plugins.schedulebuild.ScheduleBuildAction
-
-
Constructor Summary
Constructors Constructor Description ScheduleBuildAction(Job<?,?> target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckDate(String value, Item item)
org.kohsuke.stapler.HttpResponse
doNext(String date, Item item)
String
getDateTimeFormatting()
String
getDefaultDate()
ZonedDateTime
getDefaultDateObject()
String
getDisplayName()
String
getIconClassName()
String
getIconFileName()
Job<?,?>
getOwner()
long
getQuietPeriodInSeconds()
Object
getTarget()
String
getTimeZone()
String
getUrlName()
boolean
isJobParameterized()
boolean
schedule(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
-
-
Constructor Detail
-
ScheduleBuildAction
public ScheduleBuildAction(Job<?,?> target)
-
-
Method Detail
-
getOwner
public Job<?,?> getOwner()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getIconClassName
public String getIconClassName()
- Specified by:
getIconClassName
in interfaceIconSpec
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
schedule
public boolean schedule(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Throws:
Descriptor.FormException
-
getTarget
public Object getTarget()
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
getDefaultDate
public String getDefaultDate()
-
getDefaultDateObject
public ZonedDateTime getDefaultDateObject()
-
doCheckDate
public FormValidation doCheckDate(@QueryParameter String value, @AncestorInPath Item item)
-
getQuietPeriodInSeconds
public long getQuietPeriodInSeconds()
-
doNext
public org.kohsuke.stapler.HttpResponse doNext(@QueryParameter String date, @AncestorInPath Item item)
-
isJobParameterized
public boolean isJobParameterized()
-
getDateTimeFormatting
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getDateTimeFormatting()
-
getTimeZone
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getTimeZone()
-
-