Class AfterPredicate
- java.lang.Object
-
- org.drools.model.functions.temporal.AbstractTemporalPredicate<AfterPredicate>
-
- org.drools.model.functions.temporal.AfterPredicate
-
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
public class AfterPredicate extends AbstractTemporalPredicate<AfterPredicate>
-
-
Field Summary
-
Fields inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
negated, thisOnRight
-
-
Constructor Summary
Constructors Constructor Description AfterPredicate()AfterPredicate(long dev, TimeUnit devUnit)AfterPredicate(long startDev, TimeUnit startDevUnit, long endDev, TimeUnit endDevUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(long start1, long duration1, long end1, long start2, long duration2, long end2)IntervalgetInterval()protected booleanisTemporalPredicateEqualTo(AfterPredicate other)StringtoString()-
Methods inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
isEqualTo, isNegated, isThisOnRight, negate, setNegated, thisOnRight
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(long start1, long duration1, long end1, long start2, long duration2, long end2)
-
getInterval
public Interval getInterval()
-
isTemporalPredicateEqualTo
protected boolean isTemporalPredicateEqualTo(AfterPredicate other)
- Specified by:
isTemporalPredicateEqualToin classAbstractTemporalPredicate<AfterPredicate>
-
-