public enum TransferStatus extends Enum<TransferStatus>
Enum Constant and Description |
---|
CANCEL |
DONE |
DONE_WITH_ERRORS |
FAILED |
QUEUED |
STARTED |
Modifier and Type | Method and Description |
---|---|
boolean |
hasCompleted() |
boolean |
hasErrors() |
String |
toString() |
static TransferStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferStatus DONE_WITH_ERRORS
public static final TransferStatus QUEUED
public static final TransferStatus STARTED
public static final TransferStatus DONE
public static final TransferStatus CANCEL
public static final TransferStatus FAILED
public static TransferStatus[] values()
for (TransferStatus c : TransferStatus.values()) System.out.println(c);
public static TransferStatus 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 String toString()
toString
in class Enum<TransferStatus>
public boolean hasCompleted()
public boolean hasErrors()
Copyright © 2016. All Rights Reserved.