com.tikal.jenkins.plugins.multijob
Class PhaseJobsConfig
java.lang.Object
com.tikal.jenkins.plugins.multijob.PhaseJobsConfig
- All Implemented Interfaces:
- hudson.model.Describable<PhaseJobsConfig>
public class PhaseJobsConfig
- extends Object
- implements hudson.model.Describable<PhaseJobsConfig>
|
Constructor Summary |
PhaseJobsConfig(String jobName,
String jobProperties,
boolean currParams,
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> configs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhaseJobsConfig
@DataBoundConstructor
public PhaseJobsConfig(String jobName,
String jobProperties,
boolean currParams,
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> configs)
isExposedSCM
public boolean isExposedSCM()
setExposedSCM
public void setExposedSCM(boolean exposedSCM)
isCurrParams
public boolean isCurrParams()
setCurrParams
public void setCurrParams(boolean currParams)
getJobProperties
public String getJobProperties()
setJobProperties
public void setJobProperties(String jobProperties)
getJobName
public String getJobName()
setJobName
public void setJobName(String jobName)
getDescriptor
public hudson.model.Descriptor<PhaseJobsConfig> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<PhaseJobsConfig>
getDisplayName
public String getDisplayName()
getConfigs
public List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> getConfigs()
getJobParameters
public List<hudson.model.ParameterValue> getJobParameters(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
getActions
public List<hudson.model.Action> getActions(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
hudson.model.AbstractProject project,
boolean isCurrentInclude)
throws IOException,
InterruptedException
- Create a list of actions to pass to the triggered build of project.
This will create a single ParametersAction which will use the defaults
from the project being triggered and override these,
With the current parameters defined in this build. if configured.
With any matching items defined in the different configs, e.g. predefined parameters.
- Parameters:
build - build that is triggering projectlistener - project - Project that is being triggeredisCurrentInclude - Include parameters from the current build.
- Returns:
-
- Throws:
IOException
InterruptedException
hasProperties
public boolean hasProperties()
readResolve
public Object readResolve()
Copyright © 2004-2014 Hudson. All Rights Reserved.