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 String
HOST_FLAG
static String
NO_PORT
protected static String
PORT_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, 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 String
getDerbySetupScriptPath()
protected String
getHost()
protected int
getPort()
String
getStoreTileDirectory()
The name of the resource directory with all of the tiles (snippets that will be substituted) for the release.protected boolean
hasPort()
static void
main(String[] args)
protected void
printMoreArgHelp()
protected void
printMoreExamplesHelp()
protected void
setupArgMap(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:
setupTemplates
in classAbstractInstaller
- Throws:
IOException
-
getStoreTileDirectory
public String getStoreTileDirectory()
Description copied from class:AbstractInstaller
The name of the resource directory with all of the tiles (snippets that will be substituted) for the release. Typically it is called /tiles/.- Overrides:
getStoreTileDirectory
in classAbstractInstaller
- Returns:
-
setupArgMap
protected void setupArgMap(String[] args)
- Overrides:
setupArgMap
in classAbstractInstaller
-
getHost
protected String getHost()
-
hasPort
protected boolean hasPort()
-
getPort
protected int getPort()
-
printMoreArgHelp
protected void printMoreArgHelp() throws IOException
- Overrides:
printMoreArgHelp
in classAbstractInstaller
- Throws:
IOException
-
printMoreExamplesHelp
protected void printMoreExamplesHelp() throws IOException
- Overrides:
printMoreExamplesHelp
in classedu.uiuc.ncsa.security.installer.WebInstaller
- Throws:
IOException
-
main
public static void main(String[] args)
-
getDerbySetupScriptPath
protected String getDerbySetupScriptPath()
- Specified by:
getDerbySetupScriptPath
in classAbstractInstaller
-
-