public static enum DownloadPackageBuilder.DownloadFormat extends java.lang.Enum<DownloadPackageBuilder.DownloadFormat>
| Enum Constant and Description |
|---|
CONTENT_AS_TGZ |
CONTENT_AS_ZIP |
EXTRACT_CONTENT |
PACKAGE |
| Modifier and Type | Method and Description |
|---|---|
static DownloadPackageBuilder.DownloadFormat |
fromFormat(java.lang.String format) |
java.lang.String |
getDisplay() |
java.lang.String |
getFormat() |
static DownloadPackageBuilder.DownloadFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DownloadPackageBuilder.DownloadFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadPackageBuilder.DownloadFormat PACKAGE
public static final DownloadPackageBuilder.DownloadFormat CONTENT_AS_ZIP
public static final DownloadPackageBuilder.DownloadFormat CONTENT_AS_TGZ
public static final DownloadPackageBuilder.DownloadFormat EXTRACT_CONTENT
public static DownloadPackageBuilder.DownloadFormat[] values()
for (DownloadPackageBuilder.DownloadFormat c : DownloadPackageBuilder.DownloadFormat.values()) System.out.println(c);
public static DownloadPackageBuilder.DownloadFormat 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 java.lang.String getFormat()
public java.lang.String getDisplay()
public static DownloadPackageBuilder.DownloadFormat fromFormat(java.lang.String format)