org.drools.grid.timer.impl
Class ScheduledJob
java.lang.Object
org.drools.grid.timer.impl.ScheduledJob
- All Implemented Interfaces:
- Externalizable, Serializable
public class ScheduledJob
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
ScheduledJob
public ScheduledJob()
ScheduledJob
public ScheduledJob(UuidJobHandle jobHandle,
org.drools.time.Job job,
org.drools.time.JobContext context,
org.drools.time.Trigger trigger)
ScheduledJob
public ScheduledJob(UuidJobHandle jobHandle,
org.drools.time.Job job,
org.drools.time.JobContext context,
org.drools.time.Trigger trigger,
ScheduledJobConfiguration conf)
- Parameters:
jhandle - timestamp - behavior - behaviorContext -
getJobHandle
public org.drools.time.JobHandle getJobHandle()
getJob
public org.drools.time.Job getJob()
getId
public String getId()
getNextFireTime
public Date getNextFireTime()
getTrigger
public org.drools.time.Trigger getTrigger()
getJobContext
public org.drools.time.JobContext getJobContext()
getConfiguration
public ScheduledJobConfiguration getConfiguration()
setConfiguration
public void setConfiguration(ScheduledJobConfiguration configuration)
toString
public String toString()
- Overrides:
toString in class Object
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.