SMILA 1.0 API documentation

org.eclipse.smila.importing
Enum DeltaImportStrategy

java.lang.Object
  extended by java.lang.Enum<DeltaImportStrategy>
      extended by org.eclipse.smila.importing.DeltaImportStrategy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DeltaImportStrategy>

public enum DeltaImportStrategy
extends java.lang.Enum<DeltaImportStrategy>

Parameter name and possible values to specify usage of DeltaService during update.


Enum Constant Summary
ADDITIVE
          add-and-update: set state for imported records, check for unchanged objects, don't delete removed records.
DISABLED
          don't use delta service, just import.
FULL
          use all features: set state for imported records, check for unchanged objects, delete removed records.
INITIAL
          initial import: set state for imported records, don't check or delete.
 
Field Summary
static java.lang.String TASK_PARAM
          name of task parameter.
 
Method Summary
 java.lang.String getExternalName()
          get external form of value.
 boolean isDeltaCheckDisabled()
          return true if checking the delta state is disabled in this mode.
 boolean isDeltaDeleteEnabled()
          return true if deleting unvisited records is enabled in this mode.
 boolean isSetStateEnabled()
          return true if setting the delta state is enable in this mode.
static DeltaImportStrategy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DeltaImportStrategy[] 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

DISABLED

public static final DeltaImportStrategy DISABLED
don't use delta service, just import.


INITIAL

public static final DeltaImportStrategy INITIAL
initial import: set state for imported records, don't check or delete.


ADDITIVE

public static final DeltaImportStrategy ADDITIVE
add-and-update: set state for imported records, check for unchanged objects, don't delete removed records.


FULL

public static final DeltaImportStrategy FULL
use all features: set state for imported records, check for unchanged objects, delete removed records.

Field Detail

TASK_PARAM

public static final java.lang.String TASK_PARAM
name of task parameter.

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static DeltaImportStrategy 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

getExternalName

public java.lang.String getExternalName()
get external form of value.


isDeltaCheckDisabled

public boolean isDeltaCheckDisabled()
return true if checking the delta state is disabled in this mode.


isDeltaDeleteEnabled

public boolean isDeltaDeleteEnabled()
return true if deleting unvisited records is enabled in this mode.


isSetStateEnabled

public boolean isSetStateEnabled()
return true if setting the delta state is enable in this mode.


SMILA 1.0 API documentation