org.finra.herd.model.api.xml.JobStatusEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of herd-model-api Show documentation
Show all versions of herd-model-api Show documentation
This project contains the model API classes. This contains the herd XSD and generates Java POJO's from them. These classes are used for incoming
and outgoing calls into the system (e.g. via REST).
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);
}
}