org.xmlBlaster.engine.runlevel
Class RunLevelAction
java.lang.Object
org.xmlBlaster.engine.runlevel.RunLevelAction
public class RunLevelAction
- extends java.lang.Object
This class contains the information on how and when a certain plugin is invoked by the run level manager
- Author:
- Michele Laghi, Marcel Ruff
- See Also:
- engine.runlevel requirement
<action do='LOAD'
onStartupRunlevel='3'
sequence='5'
onFail='RESOURCE_CONFIGURATION_PLUGINFAILED'/>
Constructor Summary |
RunLevelAction(Global glob)
This constructor is the minimal constructor. |
RunLevelAction(Global glob,
java.lang.String action,
int upLevel,
int downLevel,
ErrorCode errorCode,
int sequence)
This constructor takes all parameters needed |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOAD
public static final java.lang.String LOAD
- See Also:
- Constant Field Values
STOP
public static final java.lang.String STOP
- See Also:
- Constant Field Values
glob
private final Global glob
log
private static java.util.logging.Logger log
action
private java.lang.String action
upLevel
private int upLevel
downLevel
private int downLevel
errorCode
private ErrorCode errorCode
sequence
private int sequence
RunLevelAction
public RunLevelAction(Global glob,
java.lang.String action,
int upLevel,
int downLevel,
ErrorCode errorCode,
int sequence)
- This constructor takes all parameters needed
RunLevelAction
public RunLevelAction(Global glob)
- This constructor is the minimal constructor.
clone
public java.lang.Object clone()
- returns a clone of this object.
- Overrides:
clone
in class java.lang.Object
getDo
public java.lang.String getDo()
setDo
public void setDo(java.lang.String action)
getOnStartupRunlevel
public int getOnStartupRunlevel()
setOnStartupRunlevel
public void setOnStartupRunlevel(int upLevel)
isOnStartupRunlevel
public boolean isOnStartupRunlevel()
getOnShutdownRunlevel
public int getOnShutdownRunlevel()
setOnShutdownRunlevel
public void setOnShutdownRunlevel(int downLevel)
isOnShutdownRunlevel
public boolean isOnShutdownRunlevel()
getOnFail
public ErrorCode getOnFail()
setOnFail
public void setOnFail(ErrorCode errorCode)
hasOnFail
public boolean hasOnFail()
getSequence
public int getSequence()
setSequence
public void setSequence(int sequence)
toXml
public java.lang.String toXml(java.lang.String extraOffset)
toXml
public java.lang.String toXml()
Copyright © 1999-2014 The xmlBlaster.org contributers.