com.hcl.voltmx.sync.services.syncruntime.config
Enum Enums.SyncStrategy

java.lang.Object
  extended by java.lang.Enum<Enums.SyncStrategy>
      extended by com.hcl.voltmx.sync.services.syncruntime.config.Enums.SyncStrategy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Enums.SyncStrategy>
Enclosing class:
Enums

public static enum Enums.SyncStrategy
extends java.lang.Enum<Enums.SyncStrategy>

Enumeration types for the synchronization strategy.


Enum Constant Summary
OTA
          Enumeration value which indicates strategy is "Over The Air" sync
PersistantSync
          Enumeration value which indicates strategy is "Persistent" sync
 
Method Summary
static Enums.SyncStrategy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Enums.SyncStrategy[] 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

OTA

public static final Enums.SyncStrategy OTA
Enumeration value which indicates strategy is "Over The Air" sync


PersistantSync

public static final Enums.SyncStrategy PersistantSync
Enumeration value which indicates strategy is "Persistent" sync

Method Detail

values

public static Enums.SyncStrategy[] 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 (Enums.SyncStrategy c : Enums.SyncStrategy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Enums.SyncStrategy valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null