Enum Class LibraryConflictResolution

java.lang.Object
java.lang.Enum<LibraryConflictResolution>
com.spotfire.ws.pub.LibraryConflictResolution
All Implemented Interfaces:
Serializable, Comparable<LibraryConflictResolution>, Constable

public enum LibraryConflictResolution extends Enum<LibraryConflictResolution>
Represent a conflict resolution strategy used when copying or moving items in the Library.
  • Enum Constant Details

    • KEEP_NEW

      public static final LibraryConflictResolution KEEP_NEW
      An item with the same name or ID as an existing item will overwrite the existing item. Note that the value to be sent through SOAP should be KeepNew (case sensitive).
    • KEEP_BOTH

      public static final LibraryConflictResolution KEEP_BOTH
      An item with the same name or ID as an existing item will be renamed/get a new ID. Note that the value to be sent through SOAP should be KeepBoth (case sensitive).
    • KEEP_OLD

      public static final LibraryConflictResolution KEEP_OLD
      An item with the same name or ID as an existing item will be skipped. Note that the value to be sent through SOAP should be KeepOld (case sensitive).
  • Method Details

    • values

      public static LibraryConflictResolution[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LibraryConflictResolution valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null