gov.sandia.ccaffeine.dc.user_iface
Class Args

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.Args

public class Args
extends java.lang.Object

Simple argument class for the Builders. Not all arguments make sense in all contexts.


Field Summary
 java.lang.String argv0
          String that indicates the 0th argument of the command line (not provided by Java)
 java.awt.Color bgcolor
           
 int builderPort
          Port for the BuilderClient to connect to.
 java.lang.String buildFile
          Path to .bld file to load
static int DEFAULTBUILDERPORT
           
static int DEFAULTPORT
           
static java.lang.String DEFAULTPROCFILEPATH
           
static double DEFAULTSCALEFONT
           
 java.lang.String hostName
          Remote host for connecting.
 boolean isServer
          Is this to be run as a server?
 boolean isXCATBridge
          Is this to be run as xcat bridge?
 java.lang.String mode
          Special mode for debugging.
 java.lang.String myProcName
          The name, found in the processor file, that refers to this process
 int portNumber
          Port to listen on.
 java.lang.String procFile
          Path to the processor file.
 double scaleFont
          the scale factor on the fonts
 boolean serverIsPython
          are we connecting to a python cca server?
 boolean tutorialMode
           
 java.lang.String type
          Name of the type of run to be done.
 
Constructor Summary
Args()
           
Args(java.lang.String argv0)
           
Args(java.lang.String argv0, java.lang.String[] s)
          Create an Args with the String array argument; parseArgs does not need to be called
 
Method Summary
 void parseArgs(java.lang.String[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULTPROCFILEPATH

public static final java.lang.String DEFAULTPROCFILEPATH
See Also:
Constant Field Values

DEFAULTPORT

public static final int DEFAULTPORT
See Also:
Constant Field Values

DEFAULTBUILDERPORT

public static final int DEFAULTBUILDERPORT
See Also:
Constant Field Values

DEFAULTSCALEFONT

public static final double DEFAULTSCALEFONT
See Also:
Constant Field Values

portNumber

public int portNumber
Port to listen on.


builderPort

public int builderPort
Port for the BuilderClient to connect to.


type

public java.lang.String type
Name of the type of run to be done.


buildFile

public java.lang.String buildFile
Path to .bld file to load


procFile

public java.lang.String procFile
Path to the processor file.


myProcName

public java.lang.String myProcName
The name, found in the processor file, that refers to this process


mode

public java.lang.String mode
Special mode for debugging.


hostName

public java.lang.String hostName
Remote host for connecting.


isServer

public boolean isServer
Is this to be run as a server?


isXCATBridge

public boolean isXCATBridge
Is this to be run as xcat bridge?


serverIsPython

public boolean serverIsPython
are we connecting to a python cca server?


scaleFont

public double scaleFont
the scale factor on the fonts


bgcolor

public java.awt.Color bgcolor

tutorialMode

public boolean tutorialMode

argv0

public java.lang.String argv0
String that indicates the 0th argument of the command line (not provided by Java)

Constructor Detail

Args

public Args()

Args

public Args(java.lang.String argv0)

Args

public Args(java.lang.String argv0,
            java.lang.String[] s)
Create an Args with the String array argument; parseArgs does not need to be called

Method Detail

parseArgs

public void parseArgs(java.lang.String[] args)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object