Enum DiffInfo.TYPE

    • Enum Constant Detail

      • ADDED

        public static final DiffInfo.TYPE ADDED
        this resource is new and not contained in the old version
      • REMOVED

        public static final DiffInfo.TYPE REMOVED
        this resource has been removed and is only in the old version
      • MOVED

        public static final DiffInfo.TYPE MOVED
        this resource is in both versions but at different locations
      • SAME

        public static final DiffInfo.TYPE SAME
        resource is in both versions at the same location
    • Method Detail

      • values

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

        public static DiffInfo.TYPE 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