public enum ImageDriver extends Enum<ImageDriver> implements HasCode<ImageDriver>
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageDriver.ImageDriverDeserializer |
| Modifier and Type | Method and Description |
|---|---|
static ImageDriver |
of(String code) |
static ImageDriver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageDriver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageDriver LOCAL
public static final ImageDriver S3
public static ImageDriver[] values()
for (ImageDriver c : ImageDriver.values()) System.out.println(c);
public static ImageDriver 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 static ImageDriver of(String code)
Copyright © 2019. All rights reserved.