Class HitConditionHistoryBuilder
java.lang.Object
com.atlassian.servicedesk.api.sla.condition.HitConditionHistoryBuilder
Builder for HitConditionHistory objects.
-
Method Summary
Modifier and TypeMethodDescriptionaddHit
(org.joda.time.DateTime dateTime) Add a hit to the historybuild()
Build a history objectboolean
isEmpty()
Is the history currently emptystatic HitConditionHistoryBuilder
Create a new HitConditionHistoryBuilder.
-
Method Details
-
newBuilder
Create a new HitConditionHistoryBuilder. Call build() to get a HitConditionHistory object, never implement that interface yourself! -
addHit
Add a hit to the history -
isEmpty
public boolean isEmpty()Is the history currently empty -
build
Build a history object
-