public final class TestStageDetails extends Object implements NameProvider
Modifier and Type | Class and Description |
---|---|
static class |
TestStageDetails.StageType |
Constructor and Description |
---|
TestStageDetails(TestBuildDetails chain) |
TestStageDetails(TestBuildDetails chain,
String name,
String description) |
TestStageDetails(TestBuildDetails chain,
String name,
String description,
TestStageDetails.StageType type) |
Modifier and Type | Method and Description |
---|---|
void |
addJobs(TestJobDetails... jobs) |
static TestStageDetails |
addNewStageTo(TestBuildDetails chain) |
TestJobDetails |
createJob(String jobKey,
String jobName)
Create a TestBuildDetails object representing job.
|
TestBuildDetails |
getChain() |
String |
getDescription() |
TestJobDetails |
getJob(int index) |
List<TestJobDetails> |
getJobs() |
String |
getName() |
boolean |
isFinal() |
boolean |
isManual() |
void |
setDefaultJob(TestJobDetails job) |
void |
setDescription(String description) |
void |
setFinal(boolean isFinal) |
void |
setManual(boolean manual) |
void |
setName(String name) |
public TestStageDetails(TestBuildDetails chain)
public TestStageDetails(TestBuildDetails chain, String name, String description, TestStageDetails.StageType type)
public TestStageDetails(TestBuildDetails chain, String name, String description)
public TestJobDetails getJob(int index)
public void setDefaultJob(TestJobDetails job)
public TestBuildDetails getChain()
public String getName()
getName
in interface NameProvider
public String getDescription()
public void setDescription(String description)
public void setName(String name)
public boolean isManual()
public void setManual(boolean manual)
public boolean isFinal()
public void setFinal(boolean isFinal)
public List<TestJobDetails> getJobs()
public void addJobs(TestJobDetails... jobs)
public static TestStageDetails addNewStageTo(TestBuildDetails chain)
public TestJobDetails createJob(String jobKey, String jobName)
jobKey
- job keyjobName
- job nameCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.