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

Enum CompareType

    • Enum Constant Detail

      • Auto

        public static final CompareType Auto
        Detect compare type from selection and settings
      • FileCompare

        public static final CompareType FileCompare
        Use file compare. Selection must contain single resource or file
      • LogicalCompare

        public static final CompareType LogicalCompare
        Use logical compare. Selection must contain single logical model.
      • ClosureCompare

        public static final CompareType ClosureCompare
        Use closure compare. Selection must contain one or more logical modes.
    • Method Detail

      • values

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

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