org.finra.herd.model.api.xml.JobActionEnum 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 jobActionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="jobActionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SUSPEND"/>
* <enumeration value="RESUME"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "jobActionEnum")
@XmlEnum
public enum JobActionEnum {
SUSPEND,
RESUME;
public String value() {
return name();
}
public static JobActionEnum fromValue(String v) {
return valueOf(v);
}
}