Package org.gitlab4j.api.models
Enum ExportStatus.Status
- java.lang.Object
-
- java.lang.Enum<ExportStatus.Status>
-
- org.gitlab4j.api.models.ExportStatus.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExportStatus.Status>
- Enclosing class:
- ExportStatus
public static enum ExportStatus.Status extends java.lang.Enum<ExportStatus.Status>
Enum representing the status of the export.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_EXPORT_ACTION
Represents that the export process has been completed successfully and the platform is performing some actions on the resulted file.FINISHED
NONE
STARTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportStatus.Status
forValue(java.lang.String value)
java.lang.String
toString()
java.lang.String
toValue()
static ExportStatus.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExportStatus.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ExportStatus.Status NONE
-
STARTED
public static final ExportStatus.Status STARTED
-
FINISHED
public static final ExportStatus.Status FINISHED
-
AFTER_EXPORT_ACTION
public static final ExportStatus.Status AFTER_EXPORT_ACTION
Represents that the export process has been completed successfully and the platform is performing some actions on the resulted file. For example, sending an email notifying the user to download the file, uploading the exported file to a web server, etc.
-
-
Method Detail
-
values
public static ExportStatus.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExportStatus.Status c : ExportStatus.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportStatus.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forValue
public static ExportStatus.Status forValue(java.lang.String value)
-
toValue
public java.lang.String toValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ExportStatus.Status>
-
-