public class TestBuildDetails extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestBuildDetails.CloverBuild |
static class |
TestBuildDetails.CreatePlanBranchOption |
Modifier and Type | Field and Description |
---|---|
static String |
SUBDIR_100_TESTS |
static String |
SUBDIR_CVS_FAILED |
static String |
SUBDIR_CVS_FAST |
static String |
SUBDIR_CVS_LONG |
static String |
SUBDIR_CVS_MIXED |
static String |
SUBDIR_CVS_SCRIPT |
static String |
SUBDIR_CVS_SUCCESS |
static String |
SUBDIR_GIT_FAILED |
static String |
SUBDIR_GIT_FAST |
static String |
SUBDIR_GIT_ONE_FAILED |
static String |
SUBDIR_GIT_SKIPPED |
static String |
SUBDIR_GIT_SLOW |
static String |
SUBDIR_GIT_SUCCESS |
static String |
SUBDIR_PERFORCE_FAILED |
static String |
SUBDIR_PERFORCE_SUCCESS |
static String |
SUBDIR_SVN_FAIL_ON_PROPERTY |
static String |
SUBDIR_SVN_FAILED |
static String |
SUBDIR_SVN_FAST |
static String |
SUBDIR_SVN_LONG |
static String |
SUBDIR_SVN_MIXED |
static String |
SUBDIR_SVN_SUCCESS |
static String |
SUBDIR_SVN_TWO_FAILED_TESTS |
Constructor and Description |
---|
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) |
public static final String SUBDIR_CVS_SUCCESS
public static final String SUBDIR_CVS_FAST
public static final String SUBDIR_CVS_FAILED
public static final String SUBDIR_CVS_MIXED
public static final String SUBDIR_CVS_SCRIPT
public static final String SUBDIR_CVS_LONG
public static final String SUBDIR_PERFORCE_SUCCESS
public static final String SUBDIR_PERFORCE_FAILED
public static final String SUBDIR_SVN_SUCCESS
public static final String SUBDIR_SVN_FAILED
public static final String SUBDIR_100_TESTS
public static final String SUBDIR_SVN_MIXED
public static final String SUBDIR_SVN_LONG
public static final String SUBDIR_SVN_FAST
public static final String SUBDIR_SVN_TWO_FAILED_TESTS
public static final String SUBDIR_SVN_FAIL_ON_PROPERTY
public static final String SUBDIR_GIT_SUCCESS
public static final String SUBDIR_GIT_FAILED
public static final String SUBDIR_GIT_ONE_FAILED
public static final String SUBDIR_GIT_FAST
public static final String SUBDIR_GIT_SLOW
public static final String SUBDIR_GIT_SKIPPED
public TestBuildDetails(String projectName, String projectKey, String buildKey, String buildName)
public TestBuildDetails(long timeId, String projectName, String projectKey, String buildKey, String buildName)
public TestBuildDetails(ProjectDescriptor project, String buildKey, String buildName)
public TestBuildDetails(ProjectDescriptor project, String key, String name, @Nullable TestBuildDetails master)
public String getFullName()
public TestBuildDetails setManualBuild()
public void addTrigger(TestTriggerDetails triggerDetails)
public void setRepository(Repository repository)
public TestStageDetails getDefaultStage()
public PlanKey getKey()
public void setKey(String partialKey)
partialKey
- - identifier of plan, without project keypublic String getName()
public TestBuildDetails setName(String name)
public ProjectDescriptor getProject()
public TestBuildDetails setProject(ProjectDescriptor project)
public String getBuildDescription()
public void setBuildDescription(String buildDescription)
public Repository getDefaultRepository()
public TestBuildDetails.CloverBuild getCloverBuild()
public void setCloverBuild(TestBuildDetails.CloverBuild cloverBuild)
public boolean isExternals()
public void setExternals(boolean externals)
public boolean isExport()
public void setExport(boolean export)
public TestBuildDetails getMaster()
public String getBranchName()
public void setBranchName(String branchName)
public String getRepositoryDisplayName()
public void setDisabledAndNoAdvancedOption(boolean disabledAndNoAdvancedOption)
public boolean isNoAdvanced()
public void setNoAdvanced(boolean noAdvanced)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public void addStages(TestStageDetails... stages)
public List<TestStageDetails> getStages()
public boolean isTriggerInitialManualBuild()
public TestBuildDetails setTriggerInitialManualBuild(boolean triggerInitialManualBuild)
public boolean isIsolateCommits()
public void setIsolateCommits(boolean isolateCommits)
public RepositoryConfigurationService.LinkedRepositoryAccess getLinkedRepositoryAccess()
public void setLinkedRepositoryAccess(RepositoryConfigurationService.LinkedRepositoryAccess linkedRepositoryAccess)
@Nullable public Integer getMaxConcurrentBuilds()
public void setMaxConcurrentBuilds(@Nullable Integer maxConcurrentBuilds)
@Nullable public String getBranchDetectionOverride()
public void setBranchDetectionOverride(String branchDetectionOverride)
public boolean isPublicPlanAccess()
public void setPublicPlanAccess(boolean publicPlanAccess)
@NotNull public TestJobDetails getDefaultJob()
@Nullable public TestStageDetails getStage(String stageName)
@Nullable public TestJobDetails getJob(@NotNull TestStageDetails stage, @NotNull String partialJobKey)
public TestJobDetails getJob(@NotNull PlanKey jobKey)
public TestJobDetails addJob(String stageName, String jobKey, String jobName)
jobKey
- job keyjobName
- job name@NotNull public Set<TestTriggerDetails> getTriggers()
public void addLabel(String label)
public TestBuildDetails.CreatePlanBranchOption getCreatePlanBranchOption()
public void setCreatePlanBranchOption(TestBuildDetails.CreatePlanBranchOption createPlanBranchOption)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.