Class TestStageDetails
java.lang.Object
com.atlassian.bamboo.testutils.model.TestStageDetails
- All Implemented Interfaces:
NameProvider
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTestStageDetails
(TestBuildDetails chain) TestStageDetails
(TestBuildDetails chain, String name, String description) TestStageDetails
(TestBuildDetails chain, String name, String description, TestStageDetails.StageType type) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJobs
(TestJobDetails... jobs) static TestStageDetails
addNewStageTo
(TestBuildDetails chain) Create a TestBuildDetails object representing job.getChain()
getJob
(int index) getJobs()
getName()
boolean
isFinal()
boolean
isManual()
void
void
setDescription
(String description) void
setFinal
(boolean isFinal) void
setManual
(boolean manual) void
-
Constructor Details
-
TestStageDetails
-
TestStageDetails
public TestStageDetails(TestBuildDetails chain, String name, String description, TestStageDetails.StageType type) -
TestStageDetails
-
-
Method Details
-
getJob
-
setDefaultJob
-
getChain
-
getName
- Specified by:
getName
in interfaceNameProvider
-
getDescription
-
setDescription
-
setName
-
isManual
public boolean isManual() -
setManual
public void setManual(boolean manual) -
isFinal
public boolean isFinal() -
setFinal
public void setFinal(boolean isFinal) -
getJobs
-
addJobs
-
addNewStageTo
-
createJob
Create a TestBuildDetails object representing job. Newly created job is NOT added to internal structure of the chain.- Parameters:
jobKey
- job keyjobName
- job name- Returns:
-