com.vmware.pbm.PbmComplianceResultComplianceTaskStatus Maven / Gradle / Ivy
package com.vmware.pbm;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PbmComplianceResultComplianceTaskStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PbmComplianceResultComplianceTaskStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="inProgress"/>
* <enumeration value="success"/>
* <enumeration value="failed"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PbmComplianceResultComplianceTaskStatus")
@XmlEnum
public enum PbmComplianceResultComplianceTaskStatus {
@XmlEnumValue("inProgress")
IN_PROGRESS("inProgress"),
@XmlEnumValue("success")
SUCCESS("success"),
@XmlEnumValue("failed")
FAILED("failed");
private final String value;
PbmComplianceResultComplianceTaskStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static PbmComplianceResultComplianceTaskStatus fromValue(String v) {
for (PbmComplianceResultComplianceTaskStatus c: PbmComplianceResultComplianceTaskStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy