|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SyncFlag>
org.eclipse.ptp.rdt.sync.core.SyncFlag
public enum SyncFlag
Flags to control the behavior of synchronization. Currently, the individual FORCE_SYNC_TO_LOCAL and FORCE_SYNC_TO_REMOTE flags are not used. Instead, the EnumSets are used as defined below. Please note that the synchronization protocol is a work in progress, and the meanings of these flags are subject to change.
| Enum Constant Summary | |
|---|---|
DISABLE_SYNC
|
|
FORCE_SYNC_TO_LOCAL
|
|
FORCE_SYNC_TO_REMOTE
|
|
| Field Summary | |
|---|---|
static EnumSet<SyncFlag> |
FORCE
Force transferring of files. |
static EnumSet<SyncFlag> |
NO_FORCE
Transfer files "if needed". |
static EnumSet<SyncFlag> |
NO_SYNC
Do not actually transfer files. |
| Method Summary | |
|---|---|
static SyncFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SyncFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SyncFlag DISABLE_SYNC
public static final SyncFlag FORCE_SYNC_TO_LOCAL
public static final SyncFlag FORCE_SYNC_TO_REMOTE
| Field Detail |
|---|
public static final EnumSet<SyncFlag> NO_SYNC
public static final EnumSet<SyncFlag> NO_FORCE
public static final EnumSet<SyncFlag> FORCE
| Method Detail |
|---|
public static SyncFlag[] values()
for (SyncFlag c : SyncFlag.values()) System.out.println(c);
public static SyncFlag valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||