|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Priority>
hudson.plugins.dry.util.model.Priority
public enum Priority
Defines the priority of an annotation.
| Nested Class Summary | |
|---|---|
static class |
Priority.PriorityConverter
Converts priorities for XStream deserialization. |
| Enum Constant Summary | |
|---|---|
HIGH
High priority. |
|
LOW
Low priority. |
|
NORMAL
Normal priority. |
|
| Method Summary | |
|---|---|
static java.util.Collection<Priority> |
collectPrioritiesFrom(Priority minimumPriority)
Gets the priorities starting from the specified priority to HIGH. |
static Priority |
fromString(java.lang.String priority)
Converts a String priority to an actual enumeration value. |
java.lang.String |
getLocalizedString()
Returns a localized description of this priority. |
java.lang.String |
getLongLocalizedString()
Returns a long localized description of this priority. |
static Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Priority[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Priority HIGH
public static final Priority NORMAL
public static final Priority LOW
| Method Detail |
|---|
public static final Priority[] values()
for(Priority c : Priority.values())
System.out.println(c);
public static Priority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static Priority fromString(java.lang.String priority)
priority - priority as a String
public java.lang.String getLocalizedString()
public java.lang.String getLongLocalizedString()
public static java.util.Collection<Priority> collectPrioritiesFrom(Priority minimumPriority)
HIGH.
minimumPriority - the minimum priority
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||