Enum Class SqlProcessor.FilterStatus

java.lang.Object
java.lang.Enum<SqlProcessor.FilterStatus>
org.sqlproc.engine.impl.SqlProcessor.FilterStatus
All Implemented Interfaces:
Serializable, Comparable<SqlProcessor.FilterStatus>, Constable
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
  • Enum Constant Details

  • Constructor Details

    • FilterStatus

      private FilterStatus()
  • Method Details

    • values

      public static SqlProcessor.FilterStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SqlProcessor.FilterStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null