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

Enum MergeToolType

    • Enum Constant Detail

      • Auto

        public static final MergeToolType Auto
        Detect mode from current selection.
      • FileByFile

        public static final MergeToolType FileByFile
        Use file-by-file merge tool mode.

        The merge tool editor will have list of files. User need to click on file to show content-specific merge view.

      • Logical

        public static final MergeToolType Logical
        Use logical merge tool mode.

        This type is applicable when selection contains conflicting resources from the same single logical model.

      • Closure

        public static final MergeToolType Closure
        Use closure merge tool mode.

        This type is applicable when selection contains conflicting *.emx and *.efx files. Merge tool will process all conflicting resources as single entity.

    • Method Detail

      • values

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

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