org.drools.grid.timer.impl
Class ScheduledJob

java.lang.Object
  extended by org.drools.grid.timer.impl.ScheduledJob
All Implemented Interfaces:
Externalizable, Serializable

public class ScheduledJob
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
ScheduledJob()
           
ScheduledJob(UuidJobHandle jobHandle, org.drools.time.Job job, org.drools.time.JobContext context, org.drools.time.Trigger trigger)
           
ScheduledJob(UuidJobHandle jobHandle, org.drools.time.Job job, org.drools.time.JobContext context, org.drools.time.Trigger trigger, ScheduledJobConfiguration conf)
           
 
Method Summary
 ScheduledJobConfiguration getConfiguration()
           
 String getId()
           
 org.drools.time.Job getJob()
           
 org.drools.time.JobContext getJobContext()
           
 org.drools.time.JobHandle getJobHandle()
           
 Date getNextFireTime()
           
 org.drools.time.Trigger getTrigger()
           
 void readExternal(ObjectInput in)
           
 void setConfiguration(ScheduledJobConfiguration configuration)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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.