com.microsoft.wsman.config.plugin.CapabilityEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bedrock-runtime-windows Show documentation
Show all versions of bedrock-runtime-windows Show documentation
Interfaces, classes and resources to construct, inspect and securely
manage remote runtime processes on Windows using WinRM.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.07.07 at 02:29:03 PM UTC
//
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);
}
}