public static enum CreateFileTask.ErrorCode extends Enum<CreateFileTask.ErrorCode>
| Enum Constant and Description |
|---|
NO_ERROR
Operação bem sucedida
|
NOT_EXECUTED
Taks não executada
|
RMI_FAILURE
Falha de RMI
|
UNKNOWN
Estado desconhecido.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateFileTask.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateFileTask.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateFileTask.ErrorCode NO_ERROR
public static final CreateFileTask.ErrorCode NOT_EXECUTED
public static final CreateFileTask.ErrorCode RMI_FAILURE
public static final CreateFileTask.ErrorCode UNKNOWN
public static CreateFileTask.ErrorCode[] values()
for (CreateFileTask.ErrorCode c : CreateFileTask.ErrorCode.values()) System.out.println(c);
public static CreateFileTask.ErrorCode 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 nullCopyright © 2019. All rights reserved.