com.xpn.xwiki.plugin.scheduler
Class JobState
java.lang.Object
com.xpn.xwiki.plugin.scheduler.JobState
public class JobState
- extends java.lang.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: JobState.java 10263 2008-06-11 22:45:52Z sdumitriu $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_NORMAL
public static final java.lang.String STATE_NORMAL
- See Also:
- Constant Field Values
STATE_PAUSED
public static final java.lang.String STATE_PAUSED
- See Also:
- Constant Field Values
STATE_BLOCKED
public static final java.lang.String STATE_BLOCKED
- See Also:
- Constant Field Values
STATE_COMPLETE
public static final java.lang.String STATE_COMPLETE
- See Also:
- Constant Field Values
STATE_ERROR
public static final java.lang.String STATE_ERROR
- See Also:
- Constant Field Values
STATE_NONE
public static final java.lang.String STATE_NONE
- See Also:
- Constant Field Values
JobState
public JobState(int state)
setState
public void setState(int state)
getState
public int getState()
getValue
public java.lang.String getValue()
Copyright © 2004-2008 XWiki. All Rights Reserved.