com.microsoft.wsman.config.plugin.CapabilityEnumeration Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.08.05 at 05:23:55 PM EDT
//
package com.microsoft.wsman.config.plugin;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CapabilityEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CapabilityEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Get"/>
* <enumeration value="Put"/>
* <enumeration value="Create"/>
* <enumeration value="Delete"/>
* <enumeration value="Invoke"/>
* <enumeration value="Enumerate"/>
* <enumeration value="Subscribe"/>
* <enumeration value="Shell"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CapabilityEnumeration")
@XmlEnum
public enum CapabilityEnumeration {
@XmlEnumValue("Get")
GET("Get"),
@XmlEnumValue("Put")
PUT("Put"),
@XmlEnumValue("Create")
CREATE("Create"),
@XmlEnumValue("Delete")
DELETE("Delete"),
@XmlEnumValue("Invoke")
INVOKE("Invoke"),
@XmlEnumValue("Enumerate")
ENUMERATE("Enumerate"),
@XmlEnumValue("Subscribe")
SUBSCRIBE("Subscribe"),
@XmlEnumValue("Shell")
SHELL("Shell");
private final String value;
CapabilityEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static CapabilityEnumeration fromValue(String v) {
for (CapabilityEnumeration c: CapabilityEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy