Class PriorityV1

java.lang.Object
com.seeq.model.PriorityV1

public class PriorityV1 extends Object
The priorities for metrics, sorted descending by level
  • Constructor Details

    • PriorityV1

      public PriorityV1()
  • Method Details

    • color

      public PriorityV1 color(String color)
    • getColor

      public String getColor()
      A hex code (including pound sign) representing the color assigned to this priority
      Returns:
      color
    • setColor

      public void setColor(String color)
    • level

      public PriorityV1 level(Integer level)
    • getLevel

      public Integer getLevel()
      An integer representing the priority level. 0 is used for neutral, positive numbers are used for high thresholds and negative numbers for low thresholds
      Returns:
      level
    • setLevel

      public void setLevel(Integer level)
    • name

      public PriorityV1 name(String name)
    • getName

      public String getName()
      The name of this priority
      Returns:
      name
    • setName

      public void setName(String name)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object