public class DayCondition extends RunCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
DayCondition.Day |
static class |
DayCondition.DayConditionDescriptor |
static class |
DayCondition.DaySelector |
static class |
DayCondition.SelectDays |
static class |
DayCondition.Weekday |
static class |
DayCondition.Weekend |
RunCondition.RunConditionDescriptor| Constructor and Description |
|---|
DayCondition(boolean useBuildTime,
DayCondition.DaySelector daySelector) |
| Modifier and Type | Method and Description |
|---|---|
DayCondition.DaySelector |
getDaySelector() |
protected Calendar |
getNow() |
protected Calendar |
getTimestamp(hudson.model.AbstractBuild<?,?> build) |
boolean |
isUseBuildTime() |
boolean |
runPerform(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Decide whether to run the perform method in the BuildStep.
|
boolean |
runPrebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Decide whether to run the prebuild method in the BuildStep.
|
all, getDescriptor@DataBoundConstructor
public DayCondition(boolean useBuildTime,
DayCondition.DaySelector daySelector)
public boolean isUseBuildTime()
public DayCondition.DaySelector getDaySelector()
public final boolean runPrebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws Exception
RunConditionrunPrebuild in class RunConditionExceptionAlwaysPrebuildRunCondition,
PrebuildSameAsPerformRunConditionpublic final boolean runPerform(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws Exception
RunConditionrunPerform in class RunConditionExceptionprotected Calendar getNow()
protected Calendar getTimestamp(hudson.model.AbstractBuild<?,?> build)
Copyright © 2004-2014 Hudson. All Rights Reserved.