public static enum Volume.Mode extends Enum<Volume.Mode>
Enum Constant and Description |
---|
BLOCK |
FILESYSTEM |
Modifier and Type | Method and Description |
---|---|
String |
getMode() |
static Volume.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.Mode FILESYSTEM
public static final Volume.Mode BLOCK
public static Volume.Mode[] values()
for (Volume.Mode c : Volume.Mode.values()) System.out.println(c);
public static Volume.Mode 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 getMode()
Copyright © 2017–2025 OWASP Foundation. All rights reserved.