org.drools.time.impl
Class DefaultTimerJobInstance
java.lang.Object
org.drools.time.impl.DefaultTimerJobInstance
- All Implemented Interfaces:
- Comparable<DefaultTimerJobInstance>, Callable<Void>, TimerJobInstance
public class DefaultTimerJobInstance
- extends Object
- implements Callable<Void>, Comparable<DefaultTimerJobInstance>, TimerJobInstance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scheduler
protected final InternalSchedulerService scheduler
DefaultTimerJobInstance
public DefaultTimerJobInstance(Job job,
JobContext ctx,
Trigger trigger,
JobHandle handle,
InternalSchedulerService scheduler)
compareTo
public int compareTo(DefaultTimerJobInstance o)
- Specified by:
compareTo
in interface Comparable<DefaultTimerJobInstance>
call
public Void call()
throws Exception
- Specified by:
call
in interface Callable<Void>
- Throws:
Exception
getJobHandle
public JobHandle getJobHandle()
- Specified by:
getJobHandle
in interface TimerJobInstance
getJob
public Job getJob()
- Specified by:
getJob
in interface TimerJobInstance
getTrigger
public Trigger getTrigger()
- Specified by:
getTrigger
in interface TimerJobInstance
getJobContext
public JobContext getJobContext()
- Specified by:
getJobContext
in interface TimerJobInstance
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.