Package org.drools.core.time.impl
Class CronTimer
java.lang.Object
org.drools.base.rule.ConditionalElement
org.drools.core.time.impl.BaseTimer
org.drools.core.time.impl.CronTimer
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable,RuleComponent,RuleConditionElement,Timer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCronTimer(TimerExpression startTime, TimerExpression endTime, int repeatLimit, CronExpression cronExpression) -
Method Summary
Modifier and TypeMethodDescriptionclone()createTrigger(long timestamp, String[] calendarNames, Calendars calendars) createTrigger(long timestamp, BaseTuple leftTuple, JobHandle jh, String[] calendarNames, Calendars calendars, Declaration[][] declrs, ValueResolver valueResolver) booleanDeclaration[][]getTimerDeclarations(Map<String, Declaration> outerDeclrs) inthashCode()voidvoidMethods inherited from class org.drools.core.time.impl.BaseTimer
getInnerDeclarations, getNestedElements, getOuterDeclarations, isPatternScopeDelimiter, resolveDeclaration, sortDeclarationsMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.base.rule.RuleConditionElement
getInnerDeclarations, getNestedElements, getOuterDeclarations, isPatternScopeDelimiter, resolveDeclaration
-
Constructor Details
-
CronTimer
public CronTimer() -
CronTimer
public CronTimer(TimerExpression startTime, TimerExpression endTime, int repeatLimit, CronExpression cronExpression)
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getTimerDeclarations
- Specified by:
getTimerDeclarationsin classBaseTimer
-
getCronExpression
-
createTrigger
public Trigger createTrigger(long timestamp, BaseTuple leftTuple, JobHandle jh, String[] calendarNames, Calendars calendars, Declaration[][] declrs, ValueResolver valueResolver) - Specified by:
createTriggerin interfaceTimer
-
createTrigger
- Specified by:
createTriggerin interfaceTimer
-
hashCode
public int hashCode() -
equals
-
clone
- Specified by:
clonein interfaceRuleConditionElement- Specified by:
clonein classConditionalElement
-