public static enum Constants.ArchiveFormat extends Enum<Constants.ArchiveFormat>
Enum Constant and Description |
---|
BZ2 |
TAR |
TAR_BZ2 |
TAR_GZ |
TB2 |
TBZ |
TBZ2 |
ZIP |
Modifier and Type | Method and Description |
---|---|
static Constants.ArchiveFormat |
forValue(String value) |
String |
toString() |
static Constants.ArchiveFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ArchiveFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ArchiveFormat BZ2
public static final Constants.ArchiveFormat TAR
public static final Constants.ArchiveFormat TAR_BZ2
public static final Constants.ArchiveFormat TAR_GZ
public static final Constants.ArchiveFormat TB2
public static final Constants.ArchiveFormat TBZ
public static final Constants.ArchiveFormat TBZ2
public static final Constants.ArchiveFormat ZIP
public static Constants.ArchiveFormat[] values()
for (Constants.ArchiveFormat c : Constants.ArchiveFormat.values()) System.out.println(c);
public static Constants.ArchiveFormat 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 Constants.ArchiveFormat forValue(String value) throws GitLabApiException
GitLabApiException
public String toString()
toString
in class Enum<Constants.ArchiveFormat>
Copyright © 2019. All rights reserved.