org.jostraca.setup
Class SetupActionGenerateScript

java.lang.Object
  extended byorg.jostraca.setup.SetupActionSupport
      extended byorg.jostraca.setup.SetupActionGenerateScript
All Implemented Interfaces:
SetupAction

public class SetupActionGenerateScript
extends SetupActionSupport

Description:
Generate the batch or shell script that executes Jostraca.


Field Summary
static java.lang.String CN
           
 
Fields inherited from class org.jostraca.setup.SetupActionSupport
iConfig, iDonePhrase, iSetupManager
 
Fields inherited from interface org.jostraca.setup.SetupAction
CONF_Arguments, CONF_ExecPath, CONF_HomeFolder, CONF_IsWindows9x, CONF_OSType, CONF_ScriptPath, CONF_ScriptSource, CONF_SetupActions, CONF_UsingCurrentFolder, EX_FIND_PATH_FAILURE, EX_FIND_SCRIPT_FAILURE, EX_LOAD_ACTION_CLASSES, EX_NOT_AT_HOME_NO_FILE, EX_NOT_AT_HOME_SOME_EXCEPTION, EX_PATH_EMPTY, EX_SAVE_SCRIPT_FAILURE, EX_SET_PERMS_EXEC_FAILURE, EX_SET_PERMS_FAILURE, EX_UNKNOWN, OS_Unix, OS_Windows, PATH_dot, VALUE_no, VALUE_yes
 
Constructor Summary
SetupActionGenerateScript()
           
 
Method Summary
 void doSetupImpl()
           
 void doUnix()
           
 void doWindows()
           
 void generateScript(java.lang.String pScriptTemplatePath)
           
 java.lang.String getDonePhrase()
           
 java.lang.String getName()
           
 void undoSetup()
           
 
Methods inherited from class org.jostraca.setup.SetupActionSupport
done, doOperatingSystem, doSetup, get, getArray, getScriptFileDisplayName, getScriptFileName, isYes, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CN

public static final java.lang.String CN
See Also:
Constant Field Values
Constructor Detail

SetupActionGenerateScript

public SetupActionGenerateScript()
Method Detail

doSetupImpl

public void doSetupImpl()
                 throws SetupException
Specified by:
doSetupImpl in class SetupActionSupport
Throws:
SetupException

doWindows

public void doWindows()
               throws SetupException
Overrides:
doWindows in class SetupActionSupport
Throws:
SetupException

doUnix

public void doUnix()
            throws SetupException
Overrides:
doUnix in class SetupActionSupport
Throws:
SetupException

generateScript

public void generateScript(java.lang.String pScriptTemplatePath)
                    throws SetupException
Throws:
SetupException

undoSetup

public void undoSetup()
               throws SetupException
Specified by:
undoSetup in interface SetupAction
Specified by:
undoSetup in class SetupActionSupport
Throws:
SetupException

getName

public java.lang.String getName()
Specified by:
getName in interface SetupAction
Specified by:
getName in class SetupActionSupport

getDonePhrase

public java.lang.String getDonePhrase()
Specified by:
getDonePhrase in interface SetupAction
Overrides:
getDonePhrase in class SetupActionSupport


Copyright © 2000-2002 Richard Rodger