org.xwiki.job
Interface JobContext


@Role
public interface JobContext

Allow to access current Job.

Since:
4.0M2
Version:
$Id: 13d3739939d13e79b63eb4d091e37c8c5b4766df $

Method Summary
 Job getCurrentJob()
           
 void popCurrentJob()
          Remove the current job from the stack.
 void pushCurrentJob(Job job)
           
 

Method Detail

getCurrentJob

Job getCurrentJob()
Returns:
the job currently being executed, null if there is none

pushCurrentJob

void pushCurrentJob(Job job)
Parameters:
job - add a new job to the stack

popCurrentJob

void popCurrentJob()
Remove the current job from the stack.



Copyright © 2004-2013 XWiki. All Rights Reserved.