|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SLAViolationType>
com.ace.moab.api.jobs.SLAViolationType
public enum SLAViolationType
Enum Constant Summary | |
---|---|
NO_VIOLATION
There is not SLA violation occurring. |
|
OVER
The SLA violation is over by a percentage between 10% and infinity. |
|
SLIGHTLY_OVER
The SLA violation is over by a percentage between 0% and 10%. |
|
SLIGHTLY_UNDER
The SLA violation is under by a percentage between 0% and 10%. |
|
UNDER
The SLA violation is under by a percentage between 10% and infinity. |
Method Summary | |
---|---|
static SLAViolationType |
getType(double slaViolationValue)
Looks at a percentage value and determines what SLAViolationType it is. |
java.lang.String |
toString()
|
static SLAViolationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SLAViolationType[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SLAViolationType UNDER
public static final SLAViolationType SLIGHTLY_UNDER
public static final SLAViolationType NO_VIOLATION
public static final SLAViolationType SLIGHTLY_OVER
public static final SLAViolationType OVER
Method Detail |
---|
public static final SLAViolationType[] values()
for(SLAViolationType c : SLAViolationType.values()) System.out.println(c);
public static SLAViolationType 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 java.lang.String toString()
toString
in class java.lang.Enum<SLAViolationType>
public static SLAViolationType getType(double slaViolationValue)
slaViolationValue
- the value to look at.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |