statalign
Class CommandLine

java.lang.Object
  extended by statalign.CommandLine

public class CommandLine
extends java.lang.Object


Field Summary
 java.util.ArrayList<java.lang.String> pluginParameters
           
 
Constructor Summary
CommandLine(boolean isParallel)
          Creates a CommandLine object with verbose set to false.
 
Method Summary
 int fillParams(java.lang.String[] args, MainManager manager)
          Fills run-time parameters using a list of command-line arguments.
 boolean isVerbose()
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginParameters

public java.util.ArrayList<java.lang.String> pluginParameters
Constructor Detail

CommandLine

public CommandLine(boolean isParallel)
Creates a CommandLine object with verbose set to false.

Parameters:
isParallel - does this instance belong to a parallel run?
Method Detail

fillParams

public int fillParams(java.lang.String[] args,
                      MainManager manager)
Fills run-time parameters using a list of command-line arguments. If error occurs displays error message or usage information.

Parameters:
args - list of command-line arguments
Returns:
0 on success, 1 if usage info and 2 if error msg has been displayed

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean verbose)