@Entity public class TestClassImpl extends BambooEntityObject implements TestClass
Constructor and Description |
---|
TestClassImpl() |
TestClassImpl(String name,
Plan plan) |
Modifier and Type | Method and Description |
---|---|
void |
addTest(TestCase testCase)
Add a testCase to this group
|
int |
compareTo(TestClass testClass) |
TestClass |
copyTestClass(Plan plan)
Creates a copy of the
TestClass . |
boolean |
equals(Object o) |
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
|
List<TestCase> |
getTestCases()
Retrieve the TestCases that are part of this class.
|
int |
hashCode() |
protected void |
setName(String name) |
protected void |
setPlan(Plan plan) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
public String getShortName()
TestClass
getShortName
in interface TestClass
public void addTest(@NotNull TestCase testCase)
TestClass
public String getName()
TestClass
protected void setName(String name)
@NotNull public List<TestCase> getTestCases()
TestClass
getTestCases
in interface TestClass
public Plan getPlan()
TestClass
protected void setPlan(Plan plan)
@NotNull public TestClass copyTestClass(@NotNull Plan plan)
TestClass
copyTestClass
in interface TestClass
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(TestClass testClass)
compareTo
in interface Comparable<TestClass>
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.