Class MetbyPredicate
- java.lang.Object
-
- org.drools.model.functions.temporal.AbstractTemporalPredicate<MetbyPredicate>
-
- org.drools.model.functions.temporal.MetbyPredicate
-
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
public class MetbyPredicate extends AbstractTemporalPredicate<MetbyPredicate>
-
-
Field Summary
-
Fields inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
negated, thisOnRight
-
-
Constructor Summary
Constructors Constructor Description MetbyPredicate()MetbyPredicate(long finalRange, TimeUnit finalRangeTimeUnit)
-
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(MetbyPredicate other)StringtoString()-
Methods inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
isEqualTo, isNegated, isThisOnRight, negate, setNegated, thisOnRight
-
-
-
-
Constructor Detail
-
MetbyPredicate
public MetbyPredicate()
-
MetbyPredicate
public MetbyPredicate(long finalRange, TimeUnit finalRangeTimeUnit)
-
-
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(MetbyPredicate other)
- Specified by:
isTemporalPredicateEqualToin classAbstractTemporalPredicate<MetbyPredicate>
-
-