Class BeforePredicate
java.lang.Object
org.drools.model.functions.temporal.AbstractTemporalPredicate<BeforePredicate>
org.drools.model.functions.temporal.BeforePredicate
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
-
Field Summary
Fields inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
negated, thisOnRight -
Constructor Summary
ConstructorsConstructorDescriptionBeforePredicate(long dev, TimeUnit devUnit) BeforePredicate(long startDev, TimeUnit startDevUnit, long endDev, TimeUnit endDevUnit) -
Method Summary
Methods inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
isEqualTo, isNegated, isThisOnRight, negate, setNegated, thisOnRight
-
Constructor Details
-
BeforePredicate
public BeforePredicate() -
BeforePredicate
-
BeforePredicate
-
-
Method Details
-
toString
-
evaluate
public boolean evaluate(long start1, long duration1, long end1, long start2, long duration2, long end2) -
getInterval
-
isTemporalPredicateEqualTo
- Specified by:
isTemporalPredicateEqualToin classAbstractTemporalPredicate<BeforePredicate>
-