Enum Class StepsConflictResolution

java.lang.Object
java.lang.Enum<StepsConflictResolution>
com.deltaxml.dita.config.StepsConflictResolution
All Implemented Interfaces:
com.deltaxml.dita.DitaCompareDisplayable, Serializable, Comparable<StepsConflictResolution>, Constable

public enum StepsConflictResolution extends Enum<StepsConflictResolution> implements com.deltaxml.dita.DitaCompareDisplayable
Enumeration representing the possible values for the step conflict resolution parameter.
  • Enum Constant Details

    • PREFER_A

      public static final StepsConflictResolution PREFER_A
      Use the element name from the 'A' document to contain the compared entries.
    • PREFER_B

      public static final StepsConflictResolution PREFER_B
      Use the element name from the 'B' document to contain the compared entries.
    • PREFER_STEPS

      public static final StepsConflictResolution PREFER_STEPS
      Use a steps element to contain the compared entries.
    • PREFER_STEPS_UNORDERED

      public static final StepsConflictResolution PREFER_STEPS_UNORDERED
      Use a steps-unordered element to contain the compared entries.
  • Method Details

    • values

      public static StepsConflictResolution[] 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 StepsConflictResolution 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
    • getDisplayName

      public String getDisplayName()

      Returns the user-friendly String name of the StepsConflictResolution.

      Specified by:
      getDisplayName in interface com.deltaxml.dita.DitaCompareDisplayable
      Returns:
      a user-friendly String representing the StepsConflictResolution object
    • getDisplayDescription

      public String getDisplayDescription()

      Returns the user-friendly String description of the StepsConflictResolution.

      Specified by:
      getDisplayDescription in interface com.deltaxml.dita.DitaCompareDisplayable
      Returns:
      a user-friendly String description representing the StepsConflictResolution object
    • toString

      public String toString()

      Returns a String representation of StepsConflictResolution.

      Overrides:
      toString in class Enum<StepsConflictResolution>
      Returns:
      a String representing the StepsConflictResolution object