Package org.oa4mp.server.installer
Class OA4MPServerInstaller
- java.lang.Object
-
- edu.uiuc.ncsa.security.installer.WebInstaller
-
- org.oa4mp.installer.AbstractInstaller
-
- org.oa4mp.server.installer.OA4MPServerInstaller
-
public class OA4MPServerInstaller extends AbstractInstaller
Created by Jeff Gaynor
on 6/14/24 at 2:53 PM
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringHOST_FLAGstatic StringNO_PORTprotected static StringPORT_FLAG-
Fields inherited from class org.oa4mp.installer.AbstractInstaller
STORE_FLAG, STORE_TYPE_DERBY, STORE_TYPE_DERBY_FILE, STORE_TYPE_FILE_STORE, STORE_TYPE_MARIA_DB, STORE_TYPE_MYSQL, STORE_TYPE_POSTGRES
-
Fields inherited from class edu.uiuc.ncsa.security.installer.WebInstaller
ALL_FLAG, DEBUG_FLAG, DIR_ARG, EXECUTABLE_DEFAULT, HELP_FLAG, HELP_OPTION, INSTALL_OPTION, LIST_OPTION, LOG_ARG, NO_PACER_FLAG, NOTES_OPTION, OA4MP_FLAG, operationKey, PREPROCESS_FLAG, REMOVE_OPTION, UPDATE_OPTION, UPDATEABLE_DEFAULT, UPGRADE_OPTION, USE_TEMPLATES_DEFAULT, VERSION_FLAG, VERSION_LATEST, VERSIONS_OPTION
-
-
Constructor Summary
Constructors Constructor Description OA4MPServerInstaller()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDerbySetupScriptPath()protected StringgetHost()protected intgetPort()StringgetStoreTileDirectory()protected booleanhasPort()static voidmain(String[] args)protected voidprintMoreArgHelp()protected voidprintMoreExamplesHelp()protected voidsetupArgMap(String[] args)protected Map<String,String>setupTemplates()-
Methods inherited from class org.oa4mp.installer.AbstractInstaller
doInstallOrUpdate, getSetup, getStoreFilename, setupDerbyFS
-
Methods inherited from class edu.uiuc.ncsa.security.installer.WebInstaller
applyExecutable, applySkipUpdate, applyTemplate, copyStream, createID, createSecret, doList, doRemove, doReplace, download, getAppName, getArgMap, getID, getInstallConfiguration, getLastestConfigFileName, getLogger, getMessage, getMessage, getPacer, getRoot, getSecret, getSetupIS, getTemplates, getVersionFileName, ingestYaml, init, isDebugOn, isExec, isNotUpdateable, isUseTemplate, listVersions, nukeDir, process, processFileEntry, processZipArchive, processZipFile, readConfig, say, setDebugOn, setRoot, setTemplates, showHelp, showReleaseNotes, shutdown, trace
-
-
-
-
Field Detail
-
HOST_FLAG
protected static final String HOST_FLAG
- See Also:
- Constant Field Values
-
PORT_FLAG
protected static final String PORT_FLAG
- See Also:
- Constant Field Values
-
NO_PORT
public static String NO_PORT
-
-
Method Detail
-
setupTemplates
protected Map<String,String> setupTemplates() throws IOException
- Overrides:
setupTemplatesin classAbstractInstaller- Throws:
IOException
-
getStoreTileDirectory
public String getStoreTileDirectory()
- Overrides:
getStoreTileDirectoryin classAbstractInstaller
-
setupArgMap
protected void setupArgMap(String[] args)
- Overrides:
setupArgMapin classAbstractInstaller
-
getHost
protected String getHost()
-
hasPort
protected boolean hasPort()
-
getPort
protected int getPort()
-
printMoreArgHelp
protected void printMoreArgHelp() throws IOException- Overrides:
printMoreArgHelpin classAbstractInstaller- Throws:
IOException
-
printMoreExamplesHelp
protected void printMoreExamplesHelp() throws IOException- Overrides:
printMoreExamplesHelpin classedu.uiuc.ncsa.security.installer.WebInstaller- Throws:
IOException
-
main
public static void main(String[] args)
-
getDerbySetupScriptPath
protected String getDerbySetupScriptPath()
- Specified by:
getDerbySetupScriptPathin classAbstractInstaller
-
-