edu.cmu.emulator.creator.config.event
Class Exec
java.lang.Object
edu.cmu.emulator.creator.config.ConfigNode
edu.cmu.emulator.creator.config.Event
edu.cmu.emulator.creator.config.event.Exec
public class Exec
- extends Event
Constructor Summary |
Exec(String node,
String cmd,
boolean asynchronous,
boolean exitOnError)
|
node
private String node
cmd
private String cmd
asynchronous
private boolean asynchronous
exitOnError
private boolean exitOnError
Exec
public Exec(String node,
String cmd,
boolean asynchronous,
boolean exitOnError)
getType
public String getType()
- Specified by:
getType
in class Event
getNode
public String getNode()
getCmd
public String getCmd()
getAsynchronous
public boolean getAsynchronous()
getExitOnError
public boolean getExitOnError()
fromXML
public static Exec fromXML(Element el)
throws ConfigException
- Throws:
ConfigException
clone
public Event clone()
- Specified by:
clone
in class Event
toXML
protected void toXML(Document doc,
Element el)
- Specified by:
toXML
in class Event
Copyright © 2013. All Rights Reserved.