org.finra.herd.model.api.xml.JobStatusEnum Maven / Gradle / Ivy
package org.finra.herd.model.api.xml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for jobStatusEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="jobStatusEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="RUNNING"/>
* <enumeration value="SUSPENDED"/>
* <enumeration value="COMPLETED"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "jobStatusEnum")
@XmlEnum
public enum JobStatusEnum {
RUNNING,
SUSPENDED,
COMPLETED;
public String value() {
return name();
}
public static JobStatusEnum fromValue(String v) {
return valueOf(v);
}
}