Class TestBuildDetails
java.lang.Object
com.atlassian.bamboo.testutils.model.TestBuildDetails
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorDescriptionTestBuildDetails
(long timeId, String projectName, String projectKey, String buildKey, String buildName) TestBuildDetails
(ProjectDescriptor project, String buildKey, String buildName) TestBuildDetails
(ProjectDescriptor project, String key, String name, @Nullable TestBuildDetails master) TestBuildDetails
(String projectName, String projectKey, String buildKey, String buildName) -
Method Summary
Modifier and TypeMethodDescriptionCreate a TestBuildDetails object representing job.void
void
addStages
(TestStageDetails... stages) void
addTrigger
(TestTriggerDetails triggerDetails) @Nullable String
@NotNull TestJobDetails
@Nullable TestJobDetails
getJob
(@NotNull TestStageDetails stage, @NotNull String partialJobKey) getKey()
@Nullable Integer
getName()
@Nullable TestStageDetails
@NotNull Set<TestTriggerDetails>
boolean
boolean
isExport()
boolean
boolean
boolean
boolean
boolean
void
setBranchDetectionOverride
(String branchDetectionOverride) void
setBranchName
(String branchName) void
setBuildDescription
(String buildDescription) void
setCloverBuild
(TestBuildDetails.CloverBuild cloverBuild) void
setCreatePlanBranchOption
(TestBuildDetails.CreatePlanBranchOption createPlanBranchOption) void
setDisabled
(boolean disabled) void
setDisabledAndNoAdvancedOption
(boolean disabledAndNoAdvancedOption) void
setExport
(boolean export) void
setExternals
(boolean externals) void
setIsolateCommits
(boolean isolateCommits) void
void
setMaxConcurrentBuilds
(@Nullable Integer maxConcurrentBuilds) void
setNoAdvanced
(boolean noAdvanced) setProject
(ProjectDescriptor project) void
setPublicPlanAccess
(boolean publicPlanAccess) void
setRepository
(Repository repository) void
setRepositoryAccess
(VcsRepositoryConfigurationService.RepositoryAccess repositoryAccess) setTriggerInitialManualBuild
(boolean triggerInitialManualBuild) toString()
-
Field Details
-
SUBDIR_SVN_SUCCESS
- See Also:
-
SUBDIR_SVN_FAILED
- See Also:
-
SUBDIR_100_TESTS
- See Also:
-
SUBDIR_SVN_MIXED
- See Also:
-
SUBDIR_SVN_LONG
- See Also:
-
SUBDIR_SVN_FAST
- See Also:
-
SUBDIR_SVN_TWO_FAILED_TESTS
- See Also:
-
SUBDIR_SVN_FAIL_ON_PROPERTY
- See Also:
-
SUBDIR_GIT_SUCCESS
- See Also:
-
SUBDIR_GIT_FAILED
- See Also:
-
SUBDIR_GIT_ONE_FAILED
- See Also:
-
SUBDIR_GIT_FAST
- See Also:
-
SUBDIR_GIT_SLOW
- See Also:
-
SUBDIR_GIT_SKIPPED
- See Also:
-
-
Constructor Details
-
TestBuildDetails
-
TestBuildDetails
-
TestBuildDetails
-
TestBuildDetails
public TestBuildDetails(ProjectDescriptor project, String key, String name, @Nullable @Nullable TestBuildDetails master)
-
-
Method Details
-
getFullName
-
setManualBuild
-
addTrigger
-
setRepository
-
getDefaultStage
-
getKey
-
setKey
- Parameters:
partialKey
- - identifier of plan, without project key
-
getName
-
setName
-
getProject
-
setProject
-
getBuildDescription
-
setBuildDescription
-
getDefaultRepository
-
getCloverBuild
-
setCloverBuild
-
isExternals
public boolean isExternals() -
setExternals
public void setExternals(boolean externals) -
isExport
public boolean isExport() -
setExport
public void setExport(boolean export) -
getMaster
-
getBranchName
-
setBranchName
-
getRepositoryDisplayName
-
setDisabledAndNoAdvancedOption
public void setDisabledAndNoAdvancedOption(boolean disabledAndNoAdvancedOption) -
isNoAdvanced
public boolean isNoAdvanced() -
setNoAdvanced
public void setNoAdvanced(boolean noAdvanced) -
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled) -
addStages
-
getStages
-
isTriggerInitialManualBuild
public boolean isTriggerInitialManualBuild() -
setTriggerInitialManualBuild
-
isIsolateCommits
public boolean isIsolateCommits() -
setIsolateCommits
public void setIsolateCommits(boolean isolateCommits) -
getRepositoryAccess
-
setRepositoryAccess
public void setRepositoryAccess(VcsRepositoryConfigurationService.RepositoryAccess repositoryAccess) -
getMaxConcurrentBuilds
-
setMaxConcurrentBuilds
-
getBranchDetectionOverride
-
setBranchDetectionOverride
-
isPublicPlanAccess
public boolean isPublicPlanAccess() -
setPublicPlanAccess
public void setPublicPlanAccess(boolean publicPlanAccess) -
getDefaultJob
- Returns:
- chain's default job
-
getStage
-
getJob
@Nullable public @Nullable TestJobDetails getJob(@NotNull @NotNull TestStageDetails stage, @NotNull @NotNull String partialJobKey) -
getJob
-
addJob
Create a TestBuildDetails object representing job.- Parameters:
jobKey
- job keyjobName
- job name- Returns:
- new job
-
toString
-
getExtraData
-
getTriggers
-
getLabels
-
addLabel
-
getCreatePlanBranchOption
-
setCreatePlanBranchOption
public void setCreatePlanBranchOption(TestBuildDetails.CreatePlanBranchOption createPlanBranchOption)
-