Drools :: Core 6.2.0.CR4

org.drools.core.time.impl
Class DefaultJobHandle

java.lang.Object
  extended by org.drools.core.time.impl.AbstractJobHandle
      extended by org.drools.core.time.impl.DefaultJobHandle
All Implemented Interfaces:
Serializable, JobHandle, Entry<JobHandle>, LinkedListNode<JobHandle>
Direct Known Subclasses:
JDKTimerService.JDKJobHandle

public class DefaultJobHandle
extends AbstractJobHandle
implements Serializable

A default implementation for the JobHandle interface

See Also:
Serialized Form

Constructor Summary
DefaultJobHandle(long id)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getId()
           
protected  Job getJob()
           
 TimerJobInstance getTimerJobInstance()
           
 int hashCode()
           
 boolean isCancel()
           
 void setCancel(boolean cancel)
           
 void setTimerJobInstance(TimerJobInstance scheduledJob)
           
 
Methods inherited from class org.drools.core.time.impl.AbstractJobHandle
getNext, getPrevious, nullPrevNext, setNext, setPrevious
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJobHandle

public DefaultJobHandle(long id)
Method Detail

getId

public long getId()
Specified by:
getId in interface JobHandle

setCancel

public void setCancel(boolean cancel)
Specified by:
setCancel in interface JobHandle

isCancel

public boolean isCancel()
Specified by:
isCancel in interface JobHandle

getJob

protected Job getJob()

setTimerJobInstance

public void setTimerJobInstance(TimerJobInstance scheduledJob)

getTimerJobInstance

public TimerJobInstance getTimerJobInstance()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Drools :: Core 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.