Package io.prismacloud.iac.commons.model
Enum JsonApiModelScanStatus
- java.lang.Object
-
- java.lang.Enum<JsonApiModelScanStatus>
-
- io.prismacloud.iac.commons.model.JsonApiModelScanStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonApiModelScanStatus>
public enum JsonApiModelScanStatus extends Enum<JsonApiModelScanStatus>
The scan job status. Valid values are processing, error, passed, failed, failed_n_merged, failed_n_deployed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
FAILED
FAILED_N_DEPLOYED
FAILED_N_MERGED
PASSED
PROCESSING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonApiModelScanStatus
fromValue(String text)
String
getValue()
String
toString()
static JsonApiModelScanStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonApiModelScanStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCESSING
public static final JsonApiModelScanStatus PROCESSING
-
ERROR
public static final JsonApiModelScanStatus ERROR
-
PASSED
public static final JsonApiModelScanStatus PASSED
-
FAILED
public static final JsonApiModelScanStatus FAILED
-
FAILED_N_MERGED
public static final JsonApiModelScanStatus FAILED_N_MERGED
-
FAILED_N_DEPLOYED
public static final JsonApiModelScanStatus FAILED_N_DEPLOYED
-
-
Method Detail
-
values
public static JsonApiModelScanStatus[] 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 (JsonApiModelScanStatus c : JsonApiModelScanStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonApiModelScanStatus 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<JsonApiModelScanStatus>
-
fromValue
public static JsonApiModelScanStatus fromValue(String text)
-
-