Package org.javlo.service.syncro
Enum AbstractSynchroContext.SynchroAction
- java.lang.Object
-
- java.lang.Enum<AbstractSynchroContext.SynchroAction>
-
- org.javlo.service.syncro.AbstractSynchroContext.SynchroAction
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractSynchroContext.SynchroAction>
- Enclosing class:
- AbstractSynchroContext
public static enum AbstractSynchroContext.SynchroAction extends Enum<AbstractSynchroContext.SynchroAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFLICT
COPY_TO_DISTANT
COPY_TO_LOCAL
DELETE_DISTANT
DELETE_LOCAL
MOVE_DISTANT
MOVE_LOCAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractSynchroContext.SynchroAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractSynchroContext.SynchroAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COPY_TO_LOCAL
public static final AbstractSynchroContext.SynchroAction COPY_TO_LOCAL
-
COPY_TO_DISTANT
public static final AbstractSynchroContext.SynchroAction COPY_TO_DISTANT
-
DELETE_LOCAL
public static final AbstractSynchroContext.SynchroAction DELETE_LOCAL
-
DELETE_DISTANT
public static final AbstractSynchroContext.SynchroAction DELETE_DISTANT
-
MOVE_LOCAL
public static final AbstractSynchroContext.SynchroAction MOVE_LOCAL
-
MOVE_DISTANT
public static final AbstractSynchroContext.SynchroAction MOVE_DISTANT
-
CONFLICT
public static final AbstractSynchroContext.SynchroAction CONFLICT
-
-
Method Detail
-
values
public static AbstractSynchroContext.SynchroAction[] 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 (AbstractSynchroContext.SynchroAction c : AbstractSynchroContext.SynchroAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSynchroContext.SynchroAction 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 nameNullPointerException
- if the argument is null
-
-