com.ibm.xtools.umldt.rt.api.egit.merge

Enum MergeToolResult

    • Enum Constant Detail

      • COMMITTED

        public static final MergeToolResult COMMITTED
        Indicates that user closed merge editor with 'commit' button. This result is returned when and only when:
        • Logical or Closure merge tool type was used and user clicked on 'commit' button
        • File merge tool type was used and single file was selected
      • CLOSED

        public static final MergeToolResult CLOSED
        Indicates that merge editor was closed.
      • FAILED

        public static final MergeToolResult FAILED
        Indicates that merge editor cannot be opened
    • Method Detail

      • values

        public static MergeToolResult[] 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 (MergeToolResult c : MergeToolResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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