|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TestCaseImportance>
org.squashtest.csp.tm.domain.testcase.TestCaseImportance
public enum TestCaseImportance
| Enum Constant Summary | |
|---|---|
HIGH
|
|
LOW
|
|
MEDIUM
|
|
VERY_HIGH
|
|
| Method Summary | |
|---|---|
boolean |
changeOfCriticalityCanChangeImportanceAuto(RequirementCriticality oldRequirementCriticality,
RequirementCriticality newCriticality)
will check if the change of criticality of the associated requirement can change the auto-computed testCase importance (this) |
TestCaseImportance |
deduceNewImporanceWhenAddCriticality(RequirementCriticality newCriticality)
will deduce the new TestCase importance when a new RequirementCriticality has been added to the associated RequirementCriticality list of the TestCase. |
static TestCaseImportance |
deduceTestCaseImportance(List<RequirementCriticality> rCriticalities)
|
static TestCaseImportance |
defaultValue()
|
String |
getI18nKey()
(non-Javadoc) |
int |
getLevel()
|
static TestCaseImportance |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TestCaseImportance[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TestCaseImportance VERY_HIGH
public static final TestCaseImportance HIGH
public static final TestCaseImportance MEDIUM
public static final TestCaseImportance LOW
| Method Detail |
|---|
public static TestCaseImportance[] values()
for (TestCaseImportance c : TestCaseImportance.values()) System.out.println(c);
public static TestCaseImportance valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getI18nKey()
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.InternationalizableInternationalizable.getI18nKey()public int getLevel()
getLevel in interface Levelpublic static TestCaseImportance defaultValue()
public static TestCaseImportance deduceTestCaseImportance(List<RequirementCriticality> rCriticalities)
rCriticalities - a list of requirement criticalities
public TestCaseImportance deduceNewImporanceWhenAddCriticality(RequirementCriticality newCriticality)
newCriticality - the new requirement criticality that might change the importanceoldImportance - the ancient importance of the test case
public boolean changeOfCriticalityCanChangeImportanceAuto(RequirementCriticality oldRequirementCriticality,
RequirementCriticality newCriticality)
oldRequirementCriticality - newCriticality -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||