All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.virtualbox_4_2.jaxws.NetworkAdapterPromiscModePolicy Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version

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 NetworkAdapterPromiscModePolicy. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="NetworkAdapterPromiscModePolicy">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Deny"/>
 *     <enumeration value="AllowNetwork"/>
 *     <enumeration value="AllowAll"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "NetworkAdapterPromiscModePolicy") @XmlEnum public enum NetworkAdapterPromiscModePolicy { @XmlEnumValue("Deny") DENY("Deny"), @XmlEnumValue("AllowNetwork") ALLOW_NETWORK("AllowNetwork"), @XmlEnumValue("AllowAll") ALLOW_ALL("AllowAll"); private final String value; NetworkAdapterPromiscModePolicy(String v) { value = v; } public String value() { return value; } public static NetworkAdapterPromiscModePolicy fromValue(String v) { for (NetworkAdapterPromiscModePolicy c: NetworkAdapterPromiscModePolicy.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy