Package ext.api.centrallog.model
Enum Resolution
- java.lang.Object
-
- java.lang.Enum<Resolution>
-
- ext.api.centrallog.model.Resolution
-
- All Implemented Interfaces:
Serializable,Comparable<Resolution>
public enum Resolution extends Enum<Resolution>
Gets or Sets Resolution
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDAborted resolution.FAILEDFailed resolution.SUCCESSFULSuccessful resolution.SUCCESSFUL_WITH_WARNINGSSuccessful with warnings resolution.UNSUCCESSFULUnsuccessful resolution.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolutionfromValue(String text)From value resolution.StringtoString()static ResolutionvalueOf(String name)Returns the enum constant of this type with the specified name.static Resolution[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final Resolution ABORTED
Aborted resolution.
-
FAILED
public static final Resolution FAILED
Failed resolution.
-
SUCCESSFUL
public static final Resolution SUCCESSFUL
Successful resolution.
-
UNSUCCESSFUL
public static final Resolution UNSUCCESSFUL
Unsuccessful resolution.
-
SUCCESSFUL_WITH_WARNINGS
public static final Resolution SUCCESSFUL_WITH_WARNINGS
Successful with warnings resolution.
-
-
Method Detail
-
values
public static Resolution[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Resolution c : Resolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resolution valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
public static Resolution fromValue(String text)
From value resolution.- Parameters:
text- the text- Returns:
- the resolution
-
toString
public String toString()
- Overrides:
toStringin classEnum<Resolution>
-
-