Class MatchConditionHistoryBuilder

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

@PublicApi public class MatchConditionHistoryBuilder extends Object
Reconstructed history data for the given condition
  • Method Details

    • newBuilder

      public static MatchConditionHistoryBuilder newBuilder()
      Create a new builder for a match history
    • addEntry

      public MatchConditionHistoryBuilder addEntry(org.joda.time.DateTime dateTime, MatchEvent matchEvent)
      Add an entry to the history. Adding multiple entries for the same DateTime will result in only the last one to be retained.
    • isEmpty

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

      public MatchConditionHistory build()
      Build a MatchConditionHistory object