com.atlassian.bamboo.resultsummary.tests
Class TestClassImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.tests.TestClassImpl
- All Implemented Interfaces:
- BambooObject, TestClass, java.lang.Cloneable, java.lang.Comparable<TestClass>
public class TestClassImpl
- extends BambooEntityObject
- implements TestClass
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TestClassImpl
public TestClassImpl()
TestClassImpl
public TestClassImpl(java.lang.String name,
Plan plan)
getShortName
public java.lang.String getShortName()
- Description copied from interface:
TestClass
- Get the short name for this class for the UI
- Specified by:
getShortName
in interface TestClass
- Returns:
- the name of this class without preceding packages.
addTest
public void addTest(@NotNull
TestCase testCase)
- Description copied from interface:
TestClass
- Add a testCase to this group
- Specified by:
addTest
in interface TestClass
- Parameters:
testCase
- to add.
getName
public java.lang.String getName()
- Description copied from interface:
TestClass
- The real name of the test class
- Specified by:
getName
in interface TestClass
- Returns:
- real name of the test class
setName
protected void setName(java.lang.String name)
getTestCases
@NotNull
public java.util.List<TestCase> getTestCases()
- Description copied from interface:
TestClass
- Retrieve the TestCases that are part of this class.
- Specified by:
getTestCases
in interface TestClass
- Returns:
- the TestCases that are part of this class.
getPlan
public Plan getPlan()
- Description copied from interface:
TestClass
- Get the plan that this test class belongs to
- Specified by:
getPlan
in interface TestClass
- Returns:
- the plan that this test class belongs to
setPlan
protected void setPlan(Plan plan)
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.atlassian.core.bean.EntityObject
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class com.atlassian.core.bean.EntityObject
compareTo
public int compareTo(TestClass testClass)
- Specified by:
compareTo
in interface java.lang.Comparable<TestClass>
Copyright © 2010 Atlassian. All Rights Reserved.