public static enum SyncManager.SyncMode extends Enum<SyncManager.SyncMode>
Enum Constant and Description |
---|
ACTIVE |
ALL |
NONE |
UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
static SyncManager.SyncMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncManager.SyncMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncManager.SyncMode ACTIVE
public static final SyncManager.SyncMode ALL
public static final SyncManager.SyncMode NONE
public static final SyncManager.SyncMode UNAVAILABLE
public static SyncManager.SyncMode[] values()
for (SyncManager.SyncMode c : SyncManager.SyncMode.values()) System.out.println(c);
public static SyncManager.SyncMode 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 (c) 2011 IBM Corporation and others. All Rights Reserved.