edu.cmu.emulator.daemon
Class LogSpec

java.lang.Object
  extended by edu.cmu.emulator.daemon.LogSpec

public class LogSpec
extends Object


Field Summary
static int LOC_CENTRAL
           
static int LOC_NODE
           
static int LOC_NONE
           
protected  int location
           
static String[] locationNames
           
static int MAX_LOC_VAL
           
static int MIN_LOC_VAL
           
protected  String stderrFileName
           
protected  String stdoutFileName
           
 
Constructor Summary
LogSpec(int location, String stdoutFileName, String stderrFileName)
           
 
Method Summary
 int getLocation()
           
protected static int getLocationIndex(String locDef)
           
 String getStderrFileName()
           
 String getStdoutFileName()
           
static LogSpec parse(Element def)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected int location

stdoutFileName

protected String stdoutFileName

stderrFileName

protected String stderrFileName

LOC_NONE

public static final int LOC_NONE
See Also:
Constant Field Values

LOC_CENTRAL

public static final int LOC_CENTRAL
See Also:
Constant Field Values

LOC_NODE

public static final int LOC_NODE
See Also:
Constant Field Values

MIN_LOC_VAL

public static final int MIN_LOC_VAL
See Also:
Constant Field Values

MAX_LOC_VAL

public static final int MAX_LOC_VAL
See Also:
Constant Field Values

locationNames

public static final String[] locationNames
Constructor Detail

LogSpec

public LogSpec(int location,
               String stdoutFileName,
               String stderrFileName)
Method Detail

parse

public static LogSpec parse(Element def)
                     throws DeserializationException
Throws:
DeserializationException

getLocationIndex

protected static int getLocationIndex(String locDef)

getLocation

public int getLocation()

getStdoutFileName

public String getStdoutFileName()

getStderrFileName

public String getStderrFileName()


Copyright © 2013. All Rights Reserved.