org.apache.sling.event.impl.jobs.jcr
Class JCRJobEvent

java.lang.Object
  extended by org.apache.sling.event.impl.jobs.JobEvent
      extended by org.apache.sling.event.impl.jobs.jcr.JCRJobEvent

public class JCRJobEvent
extends JobEvent

This object encapsulates all information about a job.


Field Summary
 
Fields inherited from class org.apache.sling.event.impl.jobs.JobEvent
event, queued, queueName, started, uniqueId
 
Constructor Summary
JCRJobEvent(org.osgi.service.event.Event e, PersistenceHandler handler)
           
 
Method Summary
 void finished()
           
 boolean lock()
           
 boolean remove()
           
 boolean reschedule()
           
 void restart()
           
 void unlock()
           
 
Methods inherited from class org.apache.sling.event.impl.jobs.JobEvent
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRJobEvent

public JCRJobEvent(org.osgi.service.event.Event e,
                   PersistenceHandler handler)
Method Detail

lock

public boolean lock()
Specified by:
lock in class JobEvent

unlock

public void unlock()
Specified by:
unlock in class JobEvent

finished

public void finished()
Specified by:
finished in class JobEvent

reschedule

public boolean reschedule()
Specified by:
reschedule in class JobEvent

remove

public boolean remove()
Specified by:
remove in class JobEvent

restart

public void restart()
Specified by:
restart in class JobEvent


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.