Class TestJobDetails
- java.lang.Object
-
- com.atlassian.bamboo.testutils.model.TestJobDetails
-
public class TestJobDetails extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestJobDetails.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ARTIFACT_COPY_PATTERN
static String
DEFAULT_ARTIFACT_NAME
String
environmentVariables
String
jdk
boolean
testsEnabled
String
workingDirectory
-
Constructor Summary
Constructors Constructor Description TestJobDetails(TestBuildDetails plan, String jobKey, String jobName)
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_ARTIFACT_NAME
public static final String DEFAULT_ARTIFACT_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ARTIFACT_COPY_PATTERN
public static final String DEFAULT_ARTIFACT_COPY_PATTERN
- See Also:
- Constant Field Values
-
workingDirectory
public String workingDirectory
-
testsEnabled
public boolean testsEnabled
-
jdk
public String jdk
-
environmentVariables
public String environmentVariables
-
-
Constructor Detail
-
TestJobDetails
public TestJobDetails(TestBuildDetails plan, String jobKey, String jobName)
-
-
Method Detail
-
getFullName
public String getFullName()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getBuilder
public TestJobDetails.Builder getBuilder()
-
setBuilder
public void setBuilder(TestJobDetails.Builder builder)
-
getJdk
public String getJdk()
-
getCommand
public String getCommand()
-
setCommand
public void setCommand(String command)
-
getKey
public PlanKey getKey()
-
getEnvironmentVariables
public String getEnvironmentVariables()
-
isTestsEnabled
public boolean isTestsEnabled()
-
setTestsEnabled
public void setTestsEnabled(boolean testsEnabled)
-
getTestsPassed
public int getTestsPassed()
-
getTestsFailed
public int getTestsFailed()
-
getTestQuantity
public int getTestQuantity()
-
getTestClasses
public Collection<TestClassDescriptor> getTestClasses()
-
setTestClasses
public void setTestClasses(Collection<TestClassDescriptor> testClasses)
-
isCleanCheckout
public boolean isCleanCheckout()
-
setCleanCheckout
public void setCleanCheckout(boolean cleanCheckout)
-
isArtifactsEnabled
public boolean isArtifactsEnabled()
-
getJobKey
public String getJobKey()
-
setJobKey
public void setJobKey(String jobKey)
-
getWorkingDirectory
@NotNull public @NotNull String getWorkingDirectory()
-
setWorkingDirectory
public void setWorkingDirectory(String moduleSubdirectory)
-
setJdk
public void setJdk(String jdk)
-
setEnvironmentVariables
public void setEnvironmentVariables(String environmentVariables)
-
setPlan
public void setPlan(TestBuildDetails plan)
-
getProducedArtifacts
public List<TestArtifactDetails> getProducedArtifacts()
-
addArtifactDefinition
public TestJobDetails addArtifactDefinition(Consumer<TestArtifactDetails.Builder> consumer)
-
-