net.yagga.miniinstaller
Class ScriptCommand
java.lang.Object
|
+--net.yagga.miniinstaller.ScriptCommand
- class ScriptCommand
- extends java.lang.Object
Simple helper class that handles every command.
It provides handy definitions, and convenience methods.
- Author:
- Walter Gamba
|
Constructor Summary |
(package private) |
ScriptCommand(java.lang.String cmd,
java.util.Vector p)
Build a command given a command name and its arguments |
|
Method Summary |
java.lang.String |
debug()
|
boolean |
isMeta()
|
private void |
parseMeta(java.lang.String cmd,
java.util.Vector p)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
SET
public static final int SET
INPUT
public static final int INPUT
INPUT_CONSOLE
public static final int INPUT_CONSOLE
UNZIP
public static final int UNZIP
EXEC_JAR_METHOD
public static final int EXEC_JAR_METHOD
EXEC_JAVA
public static final int EXEC_JAVA
WRITE
public static final int WRITE
WRITE_CONSOLE
public static final int WRITE_CONSOLE
DISPLAY
public static final int DISPLAY
DISPLAY_CONSOLE
public static final int DISPLAY_CONSOLE
SHOW
public static final int SHOW
INPUT_FILE
public static final int INPUT_FILE
FINAL
public static final int FINAL
EXEC_JAR
public static final int EXEC_JAR
COPY
public static final int COPY
INPUT_DIR
public static final int INPUT_DIR
START
public static final int START
START_IMG
public static final int START_IMG
META
public static final int META
_DIMS
public static final int _DIMS
_TITLE
public static final int _TITLE
_HIDE
public static final int _HIDE
_SHOW
public static final int _SHOW
_SET_COL
public static final int _SET_COL
_LOOK_AND_FEEL
public static final int _LOOK_AND_FEEL
_SET_FONT
public static final int _SET_FONT
_STEP_HIDE
public static final int _STEP_HIDE
_STEP_SHOW
public static final int _STEP_SHOW
metaStart
public static final java.lang.String metaStart
UNKNOWN
public static final int UNKNOWN
cmd_tags
private java.lang.String[] cmd_tags
meta_cmd_tags
private java.lang.String[] meta_cmd_tags
cmdType
public int cmdType
name
public java.lang.String name
params
public java.lang.String[] params
value
public java.lang.String value
- Default value or value inputted by user.
Used mainly by back function.
meta
boolean meta
isStep
public boolean isStep
- Denotes state that require highlighting in wizard frame as a step
isInteractive
public boolean isInteractive
- Denotes state that require user interaction.
Every state that is Interactev MUST also be a Step!
prevInteractiveCommand
public int prevInteractiveCommand
- stores first interactive ScriptCommand preceding this one.
Used during backwards navigation.
This value is to be set once all th SCriptComamnds are read in.
ScriptCommand
ScriptCommand(java.lang.String cmd,
java.util.Vector p)
- Build a command given a command name and its arguments
- Parameters:
cmd - the command name, as defined in this classp - a vector of String s representing command arguemnts
parseMeta
private void parseMeta(java.lang.String cmd,
java.util.Vector p)
isMeta
public boolean isMeta()
debug
public java.lang.String debug()