org.squashtest.csp.tm.domain.testcase
Enum TestCaseStatus
java.lang.Object
java.lang.Enum<TestCaseStatus>
org.squashtest.csp.tm.domain.testcase.TestCaseStatus
- All Implemented Interfaces:
- Serializable, Comparable<TestCaseStatus>, Level, org.squashtest.tm.core.foundation.i18n.Internationalizable
public enum TestCaseStatus
- extends Enum<TestCaseStatus>
- implements Level
WORK_IN_PROGRESS
public static final TestCaseStatus WORK_IN_PROGRESS
UNDER_REVIEW
public static final TestCaseStatus UNDER_REVIEW
APPROVED
public static final TestCaseStatus APPROVED
OBSOLETE
public static final TestCaseStatus OBSOLETE
TO_BE_UPDATED
public static final TestCaseStatus TO_BE_UPDATED
values
public static TestCaseStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TestCaseStatus c : TestCaseStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TestCaseStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getI18nKey
public String getI18nKey()
- Specified by:
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.Internationalizable
getLevel
public int getLevel()
- Specified by:
getLevel in interface Level
defaultValue
public static TestCaseStatus defaultValue()
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.