org.apache.sling.event.impl.jobs
Class JobEvent

java.lang.Object
  extended by org.apache.sling.event.impl.jobs.JobEvent
Direct Known Subclasses:
JCRJobEvent

public abstract class JobEvent
extends Object

This object encapsulates all information about a job.


Field Summary
 org.osgi.service.event.Event event
           
 long queued
           
 String queueName
           
 long started
           
 String uniqueId
           
 
Constructor Summary
JobEvent(org.osgi.service.event.Event e, String uniqueId)
           
 
Method Summary
 boolean equals(Object obj)
           
abstract  void finished()
           
 int hashCode()
           
abstract  boolean lock()
           
abstract  boolean remove()
           
abstract  boolean reschedule()
           
abstract  void restart()
           
abstract  void unlock()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

public org.osgi.service.event.Event event

uniqueId

public final String uniqueId

queueName

public String queueName

queued

public long queued

started

public long started
Constructor Detail

JobEvent

public JobEvent(org.osgi.service.event.Event e,
                String uniqueId)
Method Detail

lock

public abstract boolean lock()

unlock

public abstract void unlock()

finished

public abstract void finished()

reschedule

public abstract boolean reschedule()

remove

public abstract boolean remove()

restart

public abstract void restart()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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