public static enum TransferEvent.EventType extends Enum<TransferEvent.EventType>
Enum Constant and Description |
---|
CORRUPTED |
FAILED |
INITIATED |
PROGRESSED |
STARTED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static TransferEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferEvent.EventType INITIATED
public static final TransferEvent.EventType STARTED
public static final TransferEvent.EventType PROGRESSED
public static final TransferEvent.EventType CORRUPTED
public static final TransferEvent.EventType SUCCEEDED
public static final TransferEvent.EventType FAILED
public static TransferEvent.EventType[] values()
for (TransferEvent.EventType c : TransferEvent.EventType.values()) System.out.println(c);
public static TransferEvent.EventType 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 © 2010–2018 The Apache Software Foundation. All rights reserved.