org.jostraca.setup
Class SetupActionSaveScript

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

public class SetupActionSaveScript
extends SetupActionSupport

Description:
Save the batch or shell script that executes Jostraca to the executable path.


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
SetupActionSaveScript()
           
 
Method Summary
 void doSetupImpl()
           
 void doUnix()
           
 void doWindows()
           
 java.lang.String getDonePhrase()
           
 java.lang.String getName()
           
 void saveScript(java.lang.String pScriptFileName)
           
 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

SetupActionSaveScript

public SetupActionSaveScript()
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

saveScript

public void saveScript(java.lang.String pScriptFileName)
                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