com.atlassian.bamboo.testutils.model
Class TestBuildDetails
java.lang.Object
com.atlassian.bamboo.testutils.model.TestBuildDetails
public class TestBuildDetails
- extends Object
Constructor Summary |
TestBuildDetails(long timeId,
String projectName,
String projectKey,
String buildKey,
String buildName)
|
TestBuildDetails(ProjectDescriptor project,
String buildKey,
String buildName)
|
TestBuildDetails(ProjectDescriptor project,
String key,
String name,
TestBuildDetails master)
|
TestBuildDetails(String projectName,
String projectKey,
String buildKey,
String buildName)
|
SUBDIR_CVS_SUCCESS
public static final String SUBDIR_CVS_SUCCESS
- See Also:
- Constant Field Values
SUBDIR_CVS_FAST
public static final String SUBDIR_CVS_FAST
- See Also:
- Constant Field Values
SUBDIR_CVS_FAILED
public static final String SUBDIR_CVS_FAILED
- See Also:
- Constant Field Values
SUBDIR_CVS_MIXED
public static final String SUBDIR_CVS_MIXED
- See Also:
- Constant Field Values
SUBDIR_CVS_SCRIPT
public static final String SUBDIR_CVS_SCRIPT
- See Also:
- Constant Field Values
SUBDIR_CVS_LONG
public static final String SUBDIR_CVS_LONG
- See Also:
- Constant Field Values
SUBDIR_PERFORCE_SUCCESS
public static final String SUBDIR_PERFORCE_SUCCESS
- See Also:
- Constant Field Values
SUBDIR_PERFORCE_FAILED
public static final String SUBDIR_PERFORCE_FAILED
- See Also:
- Constant Field Values
SUBDIR_SVN_SUCCESS
public static final String SUBDIR_SVN_SUCCESS
- See Also:
- Constant Field Values
SUBDIR_SVN_FAILED
public static final String SUBDIR_SVN_FAILED
- See Also:
- Constant Field Values
SUBDIR_100_TESTS
public static final String SUBDIR_100_TESTS
- See Also:
- Constant Field Values
SUBDIR_SVN_MIXED
public static final String SUBDIR_SVN_MIXED
- See Also:
- Constant Field Values
SUBDIR_SVN_LONG
public static final String SUBDIR_SVN_LONG
- See Also:
- Constant Field Values
SUBDIR_SVN_FAST
public static final String SUBDIR_SVN_FAST
- See Also:
- Constant Field Values
SUBDIR_SVN_TWO_FAILED_TESTS
public static final String SUBDIR_SVN_TWO_FAILED_TESTS
- See Also:
- Constant Field Values
SUBDIR_SVN_FAIL_ON_PROPERTY
public static final String SUBDIR_SVN_FAIL_ON_PROPERTY
- See Also:
- Constant Field Values
SUBDIR_GIT_SUCCESS
public static final String SUBDIR_GIT_SUCCESS
- See Also:
- Constant Field Values
SUBDIR_GIT_FAILED
public static final String SUBDIR_GIT_FAILED
- See Also:
- Constant Field Values
SUBDIR_GIT_ONE_FAILED
public static final String SUBDIR_GIT_ONE_FAILED
- See Also:
- Constant Field Values
SUBDIR_GIT_FAST
public static final String SUBDIR_GIT_FAST
- See Also:
- Constant Field Values
SUBDIR_GIT_SLOW
public static final String SUBDIR_GIT_SLOW
- See Also:
- Constant Field Values
SUBDIR_GIT_SKIPPED
public static final String SUBDIR_GIT_SKIPPED
- See Also:
- Constant Field Values
TestBuildDetails
public TestBuildDetails(String projectName,
String projectKey,
String buildKey,
String buildName)
TestBuildDetails
public TestBuildDetails(long timeId,
String projectName,
String projectKey,
String buildKey,
String buildName)
TestBuildDetails
public TestBuildDetails(ProjectDescriptor project,
String buildKey,
String buildName)
TestBuildDetails
public TestBuildDetails(ProjectDescriptor project,
String key,
String name,
@Nullable
TestBuildDetails master)
getFullName
public String getFullName()
setManualBuild
public TestBuildDetails setManualBuild(boolean manual)
getDefaultStage
public TestStageDetails getDefaultStage()
getKey
public PlanKey getKey()
setKey
public void setKey(String partialKey)
- Parameters:
partialKey
- - identifier of plan, without project key
getName
public String getName()
setName
public TestBuildDetails setName(String name)
getProject
public ProjectDescriptor getProject()
setProject
public TestBuildDetails setProject(ProjectDescriptor project)
getBuildDescription
public String getBuildDescription()
setBuildDescription
public void setBuildDescription(String buildDescription)
getDefaultRepository
public Repository getDefaultRepository()
getCreatorUser
public String getCreatorUser()
setCreatorUser
public void setCreatorUser(String creatorUser)
getCloverBuild
public TestBuildDetails.CloverBuild getCloverBuild()
setCloverBuild
public void setCloverBuild(TestBuildDetails.CloverBuild cloverBuild)
isExternals
public boolean isExternals()
setExternals
public void setExternals(boolean externals)
isExport
public boolean isExport()
setExport
public void setExport(boolean export)
getMaster
public TestBuildDetails getMaster()
getBranchName
public String getBranchName()
setBranchName
public void setBranchName(String branchName)
getGlobalRepositoryName
public String getGlobalRepositoryName()
setGlobalRepositoryName
public void setGlobalRepositoryName(String globalRepositoryName)
getRepositoryDisplayName
public String 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
public void addStages(TestStageDetails... stages)
getStages
public List<TestStageDetails> getStages()
isTriggerInitialManualBuild
public boolean isTriggerInitialManualBuild()
setTriggerInitialManualBuild
public TestBuildDetails setTriggerInitialManualBuild(boolean triggerInitialManualBuild)
isIsolateCommits
public boolean isIsolateCommits()
setIsolateCommits
public void setIsolateCommits(boolean isolateCommits)
getLinkedRepositoryAccess
public RepositoryConfigurationService.LinkedRepositoryAccess getLinkedRepositoryAccess()
setLinkedRepositoryAccess
public void setLinkedRepositoryAccess(RepositoryConfigurationService.LinkedRepositoryAccess linkedRepositoryAccess)
getDefaultJob
@NotNull
public TestJobDetails getDefaultJob()
- Returns:
- chain's default job
getStage
@Nullable
public TestStageDetails getStage(String stageName)
getJob
@Nullable
public TestJobDetails getJob(@NotNull
TestStageDetails stage,
@NotNull
String partialJobKey)
getJob
public TestJobDetails getJob(@NotNull
PlanKey jobKey)
addJob
public TestJobDetails addJob(String stageName,
String jobKey,
String jobName)
- Create a TestBuildDetails object representing job.
- Parameters:
jobKey
- job keyjobName
- job name
- Returns:
- new job
toString
public String toString()
- Overrides:
toString
in class Object
getExtraData
public Map<String,Object> getExtraData()
getTriggerSettings
public TriggerSettings getTriggerSettings()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.