@Entity public class TestClassImpl extends BambooEntityObject implements TestClass
| Constructor and Description |
|---|
TestClassImpl() |
TestClassImpl(String name,
Plan plan,
long masterJobId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTest(@NotNull TestCase testCase)
Add a testCase to this group
|
int |
compareTo(TestClass testClass) |
@NotNull TestClass |
copyTestClass(@NotNull Plan plan)
Creates a copy of the
TestClass. |
boolean |
equals(Object o) |
long |
getMasterJobId()
Get id of the master of the job this test class belongs to.
|
String |
getName()
The real name of the test class
|
Plan |
getPlan()
Get the plan that this test class belongs to.
|
String |
getShortName()
Get the short name for this class for the UI
|
@NotNull Collection<TestCase> |
getTestCaseCollection()
Retrieve the TestCases that are part of this class.
|
@NotNull List<TestCase> |
getTestCases()
Retrieve the TestCases that are part of this class.
|
int |
hashCode() |
void |
setMasterJobId(long masterJobId) |
protected void |
setName(String name) |
protected void |
setPlan(Plan plan) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitsetIdgetIdpublic String getShortName()
TestClassgetShortName in interface TestClasspublic void addTest(@NotNull
@NotNull TestCase testCase)
TestClasspublic String getName()
TestClassprotected void setName(String name)
@NotNull public @NotNull List<TestCase> getTestCases()
TestClassgetTestCases in interface TestClass@NotNull public @NotNull Collection<TestCase> getTestCaseCollection()
TestClassgetTestCaseCollection in interface TestClasspublic Plan getPlan()
TestClassprotected void setPlan(Plan plan)
public long getMasterJobId()
TestClassTestClass.getPlan() to find the actual branched job this class belongs to.getMasterJobId in interface TestClasspublic void setMasterJobId(long masterJobId)
@NotNull public @NotNull TestClass copyTestClass(@NotNull @NotNull Plan plan)
TestClasscopyTestClass in interface TestClasspublic boolean equals(Object o)
equals in class com.atlassian.core.bean.EntityObjectpublic int hashCode()
hashCode in class com.atlassian.core.bean.EntityObjectpublic int compareTo(TestClass testClass)
compareTo in interface Comparable<TestClass>Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.