public class PhaseJobsConfig extends Object implements hudson.model.Describable<PhaseJobsConfig>
Modifier and Type | Class and Description |
---|---|
static class |
PhaseJobsConfig.DescriptorImpl |
static class |
PhaseJobsConfig.KillPhaseOnJobResultCondition |
Constructor and Description |
---|
PhaseJobsConfig(String jobName,
String jobProperties,
boolean currParams,
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> configs,
PhaseJobsConfig.KillPhaseOnJobResultCondition killPhaseOnJobResultCondition,
boolean disableJob,
boolean enableRetryStrategy,
String parsingRulesPath,
int maxRetries,
boolean enableCondition,
boolean abortAllJob,
String condition,
boolean buildOnlyIfSCMChanges,
boolean applyConditionOnlyIfNoSCMChanges) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAbortAllJob() |
List<hudson.model.Action> |
getActions(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
hudson.model.AbstractProject project,
boolean isCurrentInclude)
Create a list of actions to pass to the triggered build of project.
|
String |
getCondition() |
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> |
getConfigs() |
hudson.model.Descriptor<PhaseJobsConfig> |
getDescriptor() |
String |
getDisplayName() |
boolean |
getEnableCondition() |
boolean |
getEnableRetryStrategy() |
String |
getJobName() |
List<hudson.model.ParameterValue> |
getJobParameters(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
String |
getJobProperties() |
PhaseJobsConfig.KillPhaseOnJobResultCondition |
getKillPhaseOnJobResultCondition() |
int |
getMaxRetries() |
String |
getParsingRulesPath() |
boolean |
hasProperties() |
boolean |
isApplyConditionOnlyIfNoSCMChanges() |
boolean |
isBuildOnlyIfSCMChanges() |
boolean |
isCurrParams() |
boolean |
isDisableJob() |
boolean |
isExposedSCM() |
Object |
readResolve() |
void |
setAbortAllJob(boolean abortAllJob) |
void |
setApplyConditionOnlyIfNoSCMChanges(boolean applyConditionOnlyIfNoSCMChanges) |
void |
setBuildOnlyIfSCMChanges(boolean triggerOnlyIfSCMChanges) |
void |
setCondition(String condition) |
void |
setCurrParams(boolean currParams) |
void |
setDisableJob(boolean disableJob) |
void |
setEnableCondition(boolean enableCondition) |
void |
setEnableRetryStrategy(boolean enableRetryStrategy) |
void |
setExposedSCM(boolean exposedSCM) |
void |
setJobName(String jobName) |
void |
setJobProperties(String jobProperties) |
void |
setKillPhaseOnJobResultCondition(PhaseJobsConfig.KillPhaseOnJobResultCondition killPhaseOnJobResultCondition) |
void |
setMaxRetries(int maxRetries) |
void |
setParsingRulesPath(String parsingRulesPath) |
@DataBoundConstructor public PhaseJobsConfig(String jobName, String jobProperties, boolean currParams, List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> configs, PhaseJobsConfig.KillPhaseOnJobResultCondition killPhaseOnJobResultCondition, boolean disableJob, boolean enableRetryStrategy, String parsingRulesPath, int maxRetries, boolean enableCondition, boolean abortAllJob, String condition, boolean buildOnlyIfSCMChanges, boolean applyConditionOnlyIfNoSCMChanges)
public boolean isBuildOnlyIfSCMChanges()
public void setBuildOnlyIfSCMChanges(boolean triggerOnlyIfSCMChanges)
public boolean isApplyConditionOnlyIfNoSCMChanges()
public void setApplyConditionOnlyIfNoSCMChanges(boolean applyConditionOnlyIfNoSCMChanges)
public void setParsingRulesPath(String parsingRulesPath)
public String getParsingRulesPath()
public void setCondition(String condition)
public String getCondition()
public void setMaxRetries(int maxRetries)
public int getMaxRetries()
public void setEnableRetryStrategy(boolean enableRetryStrategy)
public boolean getEnableRetryStrategy()
public void setEnableCondition(boolean enableCondition)
public boolean getEnableCondition()
public void setAbortAllJob(boolean abortAllJob)
public boolean getAbortAllJob()
public boolean isDisableJob()
public void setDisableJob(boolean disableJob)
public PhaseJobsConfig.KillPhaseOnJobResultCondition getKillPhaseOnJobResultCondition()
public void setKillPhaseOnJobResultCondition(PhaseJobsConfig.KillPhaseOnJobResultCondition killPhaseOnJobResultCondition)
public boolean isExposedSCM()
public void setExposedSCM(boolean exposedSCM)
public boolean isCurrParams()
public void setCurrParams(boolean currParams)
public String getJobProperties()
public void setJobProperties(String jobProperties)
public String getJobName()
public void setJobName(String jobName)
public hudson.model.Descriptor<PhaseJobsConfig> getDescriptor()
getDescriptor
in interface hudson.model.Describable<PhaseJobsConfig>
public String getDisplayName()
public List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> getConfigs()
public List<hudson.model.ParameterValue> getJobParameters(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener)
public List<hudson.model.Action> getActions(hudson.model.AbstractBuild build, hudson.model.TaskListener listener, hudson.model.AbstractProject project, boolean isCurrentInclude) throws IOException, InterruptedException
build
- build that is triggering projectlistener
- Project's listenerproject
- Project that is being triggeredisCurrentInclude
- Include parameters from the current build.IOException
- throws IOExceptionInterruptedException
- throws InterruptedExceptionpublic boolean hasProperties()
public Object readResolve()
Copyright © 2016–2017. All rights reserved.