edu.cmu.emulator.creator.config.event
Class Exec

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.Event
          extended by edu.cmu.emulator.creator.config.event.Exec

public class Exec
extends Event


Field Summary
private  boolean asynchronous
           
private  String cmd
           
private  boolean exitOnError
           
private  String node
           
 
Constructor Summary
Exec(String node, String cmd, boolean asynchronous, boolean exitOnError)
           
 
Method Summary
 Event clone()
           
static Exec fromXML(Element el)
           
 boolean getAsynchronous()
           
 String getCmd()
           
 boolean getExitOnError()
           
 String getNode()
           
 String getType()
           
protected  void toXML(Document doc, Element el)
           
 
Methods inherited from class edu.cmu.emulator.creator.config.Event
toString, toXML
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node

private String node

cmd

private String cmd

asynchronous

private boolean asynchronous

exitOnError

private boolean exitOnError
Constructor Detail

Exec

public Exec(String node,
            String cmd,
            boolean asynchronous,
            boolean exitOnError)
Method Detail

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.