public class TestClassImpl extends BambooEntityObject implements TestClass
id
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)
This method needs to be here in order to use proper id
|
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()
This method needs to be here in order to use proper id
|
protected void |
setName(String name) |
protected void |
setPlan(Plan plan) |
String |
toString() |
getId, setId
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, 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()
BambooEntityObject
hashCode
in class BambooEntityObject
public boolean equals(Object o)
BambooEntityObject
equals
in class BambooEntityObject
public int compareTo(TestClass testClass)
compareTo
in interface Comparable<TestClass>
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.