public enum IssuePriority extends Enum<IssuePriority>
| Enum Constant and Description |
|---|
BLOCKER |
CRITICAL |
MAJOR |
MINOR |
OPTIONAL |
TRIVIAL |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriorityScore() |
boolean |
isHigherThan(IssuePriority otherPriority) |
static IssuePriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IssuePriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IssuePriority BLOCKER
public static final IssuePriority CRITICAL
public static final IssuePriority MAJOR
public static final IssuePriority MINOR
public static final IssuePriority TRIVIAL
public static final IssuePriority OPTIONAL
public static final IssuePriority UNDEFINED
public static IssuePriority[] values()
for (IssuePriority c : IssuePriority.values()) System.out.println(c);
public static IssuePriority 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 int getPriorityScore()
public boolean isHigherThan(IssuePriority otherPriority)
Copyright © 2017 JBoss by Red Hat. All rights reserved.