public enum HostAccessMode extends Enum<HostAccessMode>
Java class for HostAccessMode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="HostAccessMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="accessNone"/>
<enumeration value="accessAdmin"/>
<enumeration value="accessNoAccess"/>
<enumeration value="accessReadOnly"/>
<enumeration value="accessOther"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACCESS_ADMIN |
ACCESS_NO_ACCESS |
ACCESS_NONE |
ACCESS_OTHER |
ACCESS_READ_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static HostAccessMode |
fromValue(String v) |
String |
value() |
static HostAccessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostAccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostAccessMode ACCESS_NONE
public static final HostAccessMode ACCESS_ADMIN
public static final HostAccessMode ACCESS_NO_ACCESS
public static final HostAccessMode ACCESS_READ_ONLY
public static final HostAccessMode ACCESS_OTHER
public static HostAccessMode[] values()
for (HostAccessMode c : HostAccessMode.values()) System.out.println(c);
public static HostAccessMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static HostAccessMode fromValue(String v)
Copyright © 2018. All rights reserved.