org.squashtest.tm.domain.requirement
public enum RequirementCategory extends Enum<RequirementCategory> implements Level
| Enum Constant and Description |
|---|
BUSINESS |
ERGONOMIC |
FUNCTIONAL |
NON_FUNCTIONAL |
PERFORMANCE |
SECURITY |
TECHNICAL |
TEST_REQUIREMENT |
UNDEFINED |
USE_CASE |
USER_STORY |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getI18nKey() |
int |
getLevel() |
static RequirementCategory |
valueOf(int level) |
static RequirementCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequirementCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequirementCategory SECURITY
public static final RequirementCategory USER_STORY
public static final RequirementCategory TECHNICAL
public static final RequirementCategory PERFORMANCE
public static final RequirementCategory ERGONOMIC
public static final RequirementCategory UNDEFINED
public static final RequirementCategory TEST_REQUIREMENT
public static final RequirementCategory BUSINESS
public static final RequirementCategory USE_CASE
public static final RequirementCategory NON_FUNCTIONAL
public static final RequirementCategory FUNCTIONAL
public static RequirementCategory[] values()
for (RequirementCategory c : RequirementCategory.values()) System.out.println(c);
public static RequirementCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static RequirementCategory valueOf(int level)
public String getI18nKey()
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.Internationalizablepublic String getCode()
Copyright © 2010-2014 Henix, henix.fr. All Rights Reserved.