public static enum Transfer.State extends Enum<Transfer.State>
Enum Constant and Description |
---|
ACTIVE
Transfer is in progress.
|
DONE
Transfer is over, either successfully or not.
|
NEW
Transfer has not started yet.
|
Modifier and Type | Method and Description |
---|---|
static Transfer.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transfer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transfer.State NEW
public static final Transfer.State ACTIVE
public static final Transfer.State DONE
public static Transfer.State[] values()
for (Transfer.State c : Transfer.State.values()) System.out.println(c);
public static Transfer.State 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-2012 Sonatype, Inc.. All Rights Reserved.