checkmarx.wsdl.portal.ProjectOrigin Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.06.07 at 11:08:45 PM EST
//
package checkmarx.wsdl.portal;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ProjectOrigin.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ProjectOrigin">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="LocalPath"/>
* <enumeration value="SharedPath"/>
* <enumeration value="TFS"/>
* <enumeration value="External"/>
* <enumeration value="SVN"/>
* <enumeration value="CVS"/>
* <enumeration value="GIT"/>
* <enumeration value="Perforce"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ProjectOrigin")
@XmlEnum
public enum ProjectOrigin {
@XmlEnumValue("LocalPath")
LOCAL_PATH("LocalPath"),
@XmlEnumValue("SharedPath")
SHARED_PATH("SharedPath"),
TFS("TFS"),
@XmlEnumValue("External")
EXTERNAL("External"),
SVN("SVN"),
CVS("CVS"),
GIT("GIT"),
@XmlEnumValue("Perforce")
PERFORCE("Perforce");
private final String value;
ProjectOrigin(String v) {
value = v;
}
public String value() {
return value;
}
public static ProjectOrigin fromValue(String v) {
for (ProjectOrigin c: ProjectOrigin.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}