Enum SqlProcessor.FilterStatus

  • All Implemented Interfaces:
    Serializable, Comparable<SqlProcessor.FilterStatus>
    Enclosing class:
    SqlProcessor

    static enum SqlProcessor.FilterStatus
    extends Enum<SqlProcessor.FilterStatus>
    This status is the result of the filters processing, based on the next rules:
    in the case there are no filters
    - there are activeFilters, the artifact is dead - NOK
    - otherwise the artifact is ok - OK
    in the case there are filters
    - there are no activeFilters, the artifact is ok, but lower priority - OK_LOWER
    - there are activeFilters, and the intersection is not empty, the artifact is ok - OK
    - there are activeFilters, and the intersection is empty, the artifact is dead - NOK
    • Constructor Detail

      • FilterStatus

        private FilterStatus()
    • Method Detail

      • values

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

        public static SqlProcessor.FilterStatus 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