Class FinishedbyPredicate
- java.lang.Object
-
- org.drools.model.functions.temporal.AbstractTemporalPredicate<FinishedbyPredicate>
-
- org.drools.model.functions.temporal.FinishedbyPredicate
-
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
public class FinishedbyPredicate extends AbstractTemporalPredicate<FinishedbyPredicate>
-
-
Field Summary
-
Fields inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
negated, thisOnRight
-
-
Constructor Summary
Constructors Constructor Description FinishedbyPredicate()FinishedbyPredicate(long endDev, TimeUnit endDevTimeUnit)
-
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(FinishedbyPredicate other)StringtoString()-
Methods inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
isEqualTo, isNegated, isThisOnRight, negate, setNegated, thisOnRight
-
-
-
-
Constructor Detail
-
FinishedbyPredicate
public FinishedbyPredicate()
-
FinishedbyPredicate
public FinishedbyPredicate(long endDev, TimeUnit endDevTimeUnit)
-
-
Method Detail
-
getInterval
public Interval getInterval()
-
evaluate
public boolean evaluate(long start1, long duration1, long end1, long start2, long duration2, long end2)
-
isTemporalPredicateEqualTo
protected boolean isTemporalPredicateEqualTo(FinishedbyPredicate other)
- Specified by:
isTemporalPredicateEqualToin classAbstractTemporalPredicate<FinishedbyPredicate>
-
-