com.xpn.xwiki.plugin.scheduler
Class JobState

java.lang.Object
  extended by com.xpn.xwiki.plugin.scheduler.JobState

public class JobState
extends Object

Wrapper around the Quartz trigger's inner state of a Scheduler Job. This class allows to query the actual status of a Job as a String, typically to be displayed inside the Wiki

Version:
$Id$

Field Summary
static String STATE_BLOCKED
           
static String STATE_COMPLETE
           
static String STATE_ERROR
           
static String STATE_NONE
           
static String STATE_NORMAL
           
static String STATE_PAUSED
           
 
Constructor Summary
JobState(int state)
           
 
Method Summary
 int getState()
           
 String getValue()
           
 void setState(int state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_NORMAL

public static final String STATE_NORMAL
See Also:
Constant Field Values

STATE_PAUSED

public static final String STATE_PAUSED
See Also:
Constant Field Values

STATE_BLOCKED

public static final String STATE_BLOCKED
See Also:
Constant Field Values

STATE_COMPLETE

public static final String STATE_COMPLETE
See Also:
Constant Field Values

STATE_ERROR

public static final String STATE_ERROR
See Also:
Constant Field Values

STATE_NONE

public static final String STATE_NONE
See Also:
Constant Field Values
Constructor Detail

JobState

public JobState(int state)
Method Detail

setState

public void setState(int state)

getState

public int getState()

getValue

public String getValue()


Copyright © 2004-2012 XWiki. All Rights Reserved.