Class HitConditionHistoryBuilder

java.lang.Object
com.atlassian.servicedesk.api.sla.condition.HitConditionHistoryBuilder

@PublicApi public class HitConditionHistoryBuilder extends Object
Builder for HitConditionHistory objects.
  • Method Details

    • newBuilder

      public static HitConditionHistoryBuilder newBuilder()
      Create a new HitConditionHistoryBuilder. Call build() to get a HitConditionHistory object, never implement that interface yourself!
    • addHit

      public HitConditionHistoryBuilder addHit(org.joda.time.DateTime dateTime)
      Add a hit to the history
    • isEmpty

      public boolean isEmpty()
      Is the history currently empty
    • build

      public HitConditionHistory build()
      Build a history object