Package io.vertx.tp.ke.cv.em
Enum FileStatus
- java.lang.Object
-
- java.lang.Enum<FileStatus>
-
- io.vertx.tp.ke.cv.em.FileStatus
-
- All Implemented Interfaces:
Serializable,Comparable<FileStatus>
public enum FileStatus extends Enum<FileStatus>
- Author:
- Lang
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static FileStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRESS
public static final FileStatus PROGRESS
-
DONE
public static final FileStatus DONE
-
TERMINAL
public static final FileStatus TERMINAL
-
-
Method Detail
-
values
public static FileStatus[] 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 (FileStatus c : FileStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileStatus valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-