org.xwiki.job.event.status
Interface JobStatus


public interface JobStatus

Describe the current status of a job.

Since:
4.0M1
Version:
$Id$

Nested Class Summary
static class JobStatus.State
          Job status.
 
Method Summary
 LogQueue getLog()
           
 List<LogEvent> getLog(LogLevel level)
           
 JobProgress getProgress()
           
 Request getRequest()
           
 JobStatus.State getState()
           
 

Method Detail

getState

JobStatus.State getState()
Returns:
the general state of the job

getRequest

Request getRequest()
Returns:
the job request provided when starting it

getLog

LogQueue getLog()
Returns:
the log sent during job execution

getLog

List<LogEvent> getLog(LogLevel level)
Parameters:
level - the level of the log
Returns:
the log sent with the provided level

getProgress

JobProgress getProgress()
Returns:
progress information about the job (percent, etc.)


Copyright © 2004-2012 XWiki. All Rights Reserved.