| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.Stella_Object
edu.isi.stella.StandardObject
edu.isi.stella.CmdLineOption
public class CmdLineOption
| Field Summary | |
|---|---|
 java.lang.String | 
configurationProperty
 | 
 Stella_Object | 
defaultValue
The value to use for 0-arg options.  | 
 java.lang.String | 
documentation
 | 
 Keyword | 
errorAction
One of :ignore, :warn, :error.  | 
 java.lang.reflect.Method | 
handler
 | 
 Cons | 
keys
 | 
 boolean | 
multiValuedP
 | 
 int | 
nArguments
The number of args expected by this option.  | 
 Surrogate | 
valueType
 | 
| Constructor Summary | |
|---|---|
CmdLineOption()
 | 
|
| Method Summary | |
|---|---|
static Stella_Object | 
accessCmdLineOptionSlotValue(CmdLineOption self,
                             Symbol slotname,
                             Stella_Object value,
                             boolean setvalueP)
 | 
static void | 
configFileOptionHandler(CmdLineOption option,
                        Stella_Object value)
Load the configuration file value. | 
static void | 
defaultCmdLineOptionHandler(CmdLineOption option,
                            Stella_Object value)
Default handler that tries to set a system property based on option and value. | 
static void | 
definePropertyOptionHandler(CmdLineOption option,
                            Stella_Object value)
 | 
static void | 
evalInModuleOptionHandler(CmdLineOption option,
                          Stella_Object value)
Interpret an --eval-in-module option.  | 
static void | 
evalOptionHandler(CmdLineOption option,
                  Stella_Object value)
Interpret an --eval option by evaluating value. | 
static void | 
helpOptionHandler(CmdLineOption option,
                  Stella_Object value)
Print documentation about all currently registered option handlers.  | 
static void | 
loadFileOptionHandler(CmdLineOption option,
                      Stella_Object value)
Load the file value using the STELLA loadFile command. | 
static void | 
loadPathOptionHandler(CmdLineOption option,
                      Stella_Object value)
Modify the current file load path according to option and value. | 
static CmdLineOption | 
newCmdLineOption()
 | 
 Surrogate | 
primaryType()
Returns the primary type of self. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public java.lang.String documentation
public Cons keys
public Surrogate valueType
public boolean multiValuedP
public int nArguments
public Stella_Object defaultValue
public java.lang.String configurationProperty
public java.lang.reflect.Method handler
public Keyword errorAction
| Constructor Detail | 
|---|
public CmdLineOption()
| Method Detail | 
|---|
public static CmdLineOption newCmdLineOption()
public static void helpOptionHandler(CmdLineOption option,
                                     Stella_Object value)
option - value - 
public static void definePropertyOptionHandler(CmdLineOption option,
                                               Stella_Object value)
public static void loadFileOptionHandler(CmdLineOption option,
                                         Stella_Object value)
value using the STELLA loadFile command.
option - value - 
public static void configFileOptionHandler(CmdLineOption option,
                                           Stella_Object value)
value.  This will
 modify currently set system properties defined in value with new
 values but leave all other currently set properties as they are.
option - value - 
public static void loadPathOptionHandler(CmdLineOption option,
                                         Stella_Object value)
option and value.
option - value - 
public static void evalInModuleOptionHandler(CmdLineOption option,
                                             Stella_Object value)
value is expected
 to be of the form _LmoduleNameGLsExpressionG_.
option - value - 
public static void evalOptionHandler(CmdLineOption option,
                                     Stella_Object value)
value.
option - value - 
public static void defaultCmdLineOptionHandler(CmdLineOption option,
                                               Stella_Object value)
option and value.
option - value - 
public static Stella_Object accessCmdLineOptionSlotValue(CmdLineOption self,
                                                         Symbol slotname,
                                                         Stella_Object value,
                                                         boolean setvalueP)
public Surrogate primaryType()
Stella_Objectself.
 Gets defined automatically for every non-abstract subclass of OBJECT.
primaryType in class Stella_Object
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||