Class PriorityAdjustment


  • public class PriorityAdjustment
    extends java.lang.Object
    Enum representing how a particular warning property is expected to affect its likelihood of being serious, benign, or a false positive.
    Author:
    David Hovemeyer
    • Field Detail

      • NO_ADJUSTMENT

        public static final PriorityAdjustment NO_ADJUSTMENT
        No adjustment to the priority.
      • RAISE_PRIORITY

        public static final PriorityAdjustment RAISE_PRIORITY
        Raise the priority.
      • RAISE_PRIORITY_TO_AT_LEAST_NORMAL

        public static final PriorityAdjustment RAISE_PRIORITY_TO_AT_LEAST_NORMAL
        Raise the priority.
      • LOWER_PRIORITY_TO_AT_MOST_NORMAL

        public static final PriorityAdjustment LOWER_PRIORITY_TO_AT_MOST_NORMAL
        lower the priority.
      • RAISE_PRIORITY_TO_HIGH

        public static final PriorityAdjustment RAISE_PRIORITY_TO_HIGH
        Raise the priority.
      • AT_MOST_LOW

        public static final PriorityAdjustment AT_MOST_LOW
        Priority is at most low.
      • AT_MOST_MEDIUM

        public static final PriorityAdjustment AT_MOST_MEDIUM
        Priority is at most medium.
      • LOWER_PRIORITY

        public static final PriorityAdjustment LOWER_PRIORITY
        Lower the priority.
      • A_LITTLE_BIT_LOWER_PRIORITY

        public static final PriorityAdjustment A_LITTLE_BIT_LOWER_PRIORITY
        Lower the priority a little
      • A_LITTLE_BIT_HIGHER_PRIORITY

        public static final PriorityAdjustment A_LITTLE_BIT_HIGHER_PRIORITY
        Raise the priority a little
      • FALSE_POSITIVE

        public static final PriorityAdjustment FALSE_POSITIVE
        Warning is likely to be a false positive.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object