public static enum DsonOutput.Output extends java.lang.Enum<DsonOutput.Output>
Enum Constant and Description |
---|
ALL
An output mode that always results in output.
|
API
An output mode for use with application interfaces.
|
HASH
An output mode for calculating hashes.
|
NONE
An output mode that never results in output.
|
PERSIST
An output mode for use when writing data to persistent storage.
|
WIRE
An output mode for use when communicating to other nodes.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<DsonOutput.Output> |
toEnumSet(DsonOutput.Output[] value,
boolean include)
Convert enclosing annotation values to an
EnumSet . |
static DsonOutput.Output |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DsonOutput.Output[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DsonOutput.Output NONE
public static final DsonOutput.Output HASH
public static final DsonOutput.Output API
public static final DsonOutput.Output WIRE
public static final DsonOutput.Output PERSIST
public static final DsonOutput.Output ALL
public static DsonOutput.Output[] values()
for (DsonOutput.Output c : DsonOutput.Output.values()) System.out.println(c);
public static DsonOutput.Output valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.EnumSet<DsonOutput.Output> toEnumSet(DsonOutput.Output[] value, boolean include)
EnumSet
.value
- The values from the annotationinclude
- The include flag from the annotationEnumSet
identifying the DsonOutput.Output
modes to output fields for.