org.virtualbox_4_2.jaxws.HostNetworkInterfaceStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vboxjws Show documentation
Show all versions of vboxjws Show documentation
VirtualBox Client API 4.2.4
package org.virtualbox_4_2.jaxws;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HostNetworkInterfaceStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="HostNetworkInterfaceStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Unknown"/>
* <enumeration value="Up"/>
* <enumeration value="Down"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "HostNetworkInterfaceStatus")
@XmlEnum
public enum HostNetworkInterfaceStatus {
@XmlEnumValue("Unknown")
UNKNOWN("Unknown"),
@XmlEnumValue("Up")
UP("Up"),
@XmlEnumValue("Down")
DOWN("Down");
private final String value;
HostNetworkInterfaceStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static HostNetworkInterfaceStatus fromValue(String v) {
for (HostNetworkInterfaceStatus c: HostNetworkInterfaceStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy