org.jumpmind.symmetric.fs.config
Enum SyncDirection
java.lang.Object
java.lang.Enum<SyncDirection>
org.jumpmind.symmetric.fs.config.SyncDirection
- All Implemented Interfaces:
- Serializable, Comparable<SyncDirection>
public enum SyncDirection
- extends Enum<SyncDirection>
|
Method Summary |
static SyncDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SyncDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CLIENT_TO_SERVER
public static final SyncDirection CLIENT_TO_SERVER
SERVER_TO_CLIENT
public static final SyncDirection SERVER_TO_CLIENT
BIDIRECTIONAL
public static final SyncDirection BIDIRECTIONAL
values
public static SyncDirection[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SyncDirection c : SyncDirection.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SyncDirection valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2012-2013 JumpMind, Inc.. All Rights Reserved.