com.ibm.pim.utils
Enum ExportList.ActionMode

java.lang.Object
  extended by java.lang.Enum<ExportList.ActionMode>
      extended by com.ibm.pim.utils.ExportList.ActionMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExportList.ActionMode>
Enclosing interface:
ExportList

public static enum ExportList.ActionMode
extends java.lang.Enum<ExportList.ActionMode>

Enumeration of action modes for environment export and import tool. Determines behavior when the objects are imported in the target environment.


Enum Constant Summary
CREATE
          For an object exported in CREATE mode, the import tool tries to create the object in the target environment if it is not already present in the environment and logs an exception if it is already present in the target environment.
CREATE_OR_UPDATE
          For an object exported in CREATE_OR_UPDATE mode, the import tool tries to create the object in the target environment if it is not already present in the environment and updates the object if it is present in the target environment.
DELETE
          For an object exported in DELETE mode, the import tool deletes the object in the target environment if it is present in the environment and logs an exception if the object is not present in the target environment.
UPDATE
          For an object exported in UPDATE mode, the import tool updates the object if it is present in the target environment and logs an exception if it is not present in the target environment.
 
Method Summary
static ExportList.ActionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExportList.ActionMode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATE_OR_UPDATE

public static final ExportList.ActionMode CREATE_OR_UPDATE
For an object exported in CREATE_OR_UPDATE mode, the import tool tries to create the object in the target environment if it is not already present in the environment and updates the object if it is present in the target environment.


CREATE

public static final ExportList.ActionMode CREATE
For an object exported in CREATE mode, the import tool tries to create the object in the target environment if it is not already present in the environment and logs an exception if it is already present in the target environment.


UPDATE

public static final ExportList.ActionMode UPDATE
For an object exported in UPDATE mode, the import tool updates the object if it is present in the target environment and logs an exception if it is not present in the target environment.


DELETE

public static final ExportList.ActionMode DELETE
For an object exported in DELETE mode, the import tool deletes the object in the target environment if it is present in the environment and logs an exception if the object is not present in the target environment.

Method Detail

values

public static final ExportList.ActionMode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ExportList.ActionMode c : ExportList.ActionMode.values())
        System.out.println(c);

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

valueOf

public static ExportList.ActionMode 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