@Stability(value=Stable) public static final class JenkinsActionProps.Builder extends Object
JenkinsActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
JenkinsActionProps.Builder |
actionName(String actionName)
Sets the value of ActionName
|
JenkinsActionProps |
build()
Builds the configured instance.
|
JenkinsActionProps.Builder |
inputs(List<Artifact> inputs)
Sets the value of Inputs
|
JenkinsActionProps.Builder |
jenkinsProvider(IJenkinsProvider jenkinsProvider)
Sets the value of JenkinsProvider
|
JenkinsActionProps.Builder |
outputs(List<Artifact> outputs)
Sets the value of Outputs
|
JenkinsActionProps.Builder |
projectName(String projectName)
Sets the value of ProjectName
|
JenkinsActionProps.Builder |
runOrder(Number runOrder)
Sets the value of RunOrder
|
JenkinsActionProps.Builder |
type(JenkinsActionType type)
Sets the value of Type
|
@Stability(value=Stable) public JenkinsActionProps.Builder jenkinsProvider(IJenkinsProvider jenkinsProvider)
jenkinsProvider - The Jenkins Provider for this Action. This parameter is required.this@Stability(value=Stable) public JenkinsActionProps.Builder projectName(String projectName)
projectName - The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action. This parameter is required.this@Stability(value=Stable) public JenkinsActionProps.Builder type(JenkinsActionType type)
type - The type of the Action - Build, or Test. This parameter is required.this@Stability(value=Stable) public JenkinsActionProps.Builder inputs(List<Artifact> inputs)
inputs - The source to use as input for this build.this@Stability(value=Stable) public JenkinsActionProps.Builder outputs(List<Artifact> outputs)
outputs - the value to be set.this@Stability(value=Stable) public JenkinsActionProps.Builder actionName(String actionName)
actionName - The physical, human-readable name of the Action. Not that Action names must be unique within a single Stage. This parameter is required.this@Stability(value=Stable) public JenkinsActionProps.Builder runOrder(Number runOrder)
runOrder - The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Stable) public JenkinsActionProps build()
JenkinsActionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.