org.xwiki.job
Interface JobContext


@Role
@Unstable
public interface JobContext

Allow to access current Job.

Since:
4.0M2
Version:
$Id: 4c12f3773a0ebfce376d635f6063feb37295e371 $

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.