- java.lang.Object
-
- java.lang.Enum<ComplianceStatus>
-
- net.bis5.mattermost.model.ComplianceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ComplianceStatus>,HasCode<ComplianceStatus>
public enum ComplianceStatus extends Enum<ComplianceStatus> implements HasCode<ComplianceStatus>
The type of compliance report creation status.- Author:
- Takayuki Maruyama
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplianceStatus.ComplianceStatusDeserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()static ComplianceStatusof(String code)static ComplianceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ComplianceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Created
public static final ComplianceStatus Created
-
Running
public static final ComplianceStatus Running
-
Finished
public static final ComplianceStatus Finished
-
Failed
public static final ComplianceStatus Failed
-
Removed
public static final ComplianceStatus Removed
-
-
Method Detail
-
values
public static ComplianceStatus[] 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 (ComplianceStatus c : ComplianceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComplianceStatus 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
-
getCode
public String getCode()
- Specified by:
getCodein interfaceHasCode<ComplianceStatus>
-
of
public static ComplianceStatus of(String code)
-
-