Package edu.uiuc.ncsa.oa4mp.installer
Class OA4MPServerInstaller
- java.lang.Object
-
- edu.uiuc.ncsa.security.installer.WebInstaller
-
- org.oa4mp.server.installer.OA4MPServerInstaller
-
public class OA4MPServerInstaller extends edu.uiuc.ncsa.security.installer.WebInstaller
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
protected static String
STORE_FLAG
protected static String
STORE_TYPE_DERBY_FILE
protected static String
STORE_TYPE_FILE_STORE
protected static String
STORE_TYPE_MARIA_DB
protected static String
STORE_TYPE_MYSQL
protected static String
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, 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
getHost()
protected String
getID(int length)
protected int
getPort()
protected String
getSecret(int length)
protected String
getSetup()
protected String
getStoreFilename(String flag)
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 edu.uiuc.ncsa.security.installer.WebInstaller
applyExecutable, applySkipUpdate, applyTemplate, copyStream, createID, createSecret, doInstallOrUpdate, doList, doRemove, doReplace, download, getAppName, getArgMap, getInstallConfiguration, getLastestConfigFileName, getLogger, getPacer, getRoot, 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
-
STORE_FLAG
protected static final String STORE_FLAG
- See Also:
- Constant Field Values
-
STORE_TYPE_DERBY_FILE
protected static final String STORE_TYPE_DERBY_FILE
- See Also:
- Constant Field Values
-
STORE_TYPE_FILE_STORE
protected static final String STORE_TYPE_FILE_STORE
- See Also:
- Constant Field Values
-
STORE_TYPE_MYSQL
protected static final String STORE_TYPE_MYSQL
- See Also:
- Constant Field Values
-
STORE_TYPE_MARIA_DB
protected static final String STORE_TYPE_MARIA_DB
- See Also:
- Constant Field Values
-
STORE_TYPE_POSTGRES
protected static final String STORE_TYPE_POSTGRES
- 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 classedu.uiuc.ncsa.security.installer.WebInstaller
- Throws:
IOException
-
getSecret
protected String getSecret(int length)
-
getID
protected String getID(int length)
-
setupArgMap
protected void setupArgMap(String[] args)
- Overrides:
setupArgMap
in classedu.uiuc.ncsa.security.installer.WebInstaller
-
getHost
protected String getHost()
-
hasPort
protected boolean hasPort()
-
getPort
protected int getPort()
-
printMoreArgHelp
protected void printMoreArgHelp() throws IOException
- Overrides:
printMoreArgHelp
in classedu.uiuc.ncsa.security.installer.WebInstaller
- 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)
-
getSetup
protected String getSetup()
- Overrides:
getSetup
in classedu.uiuc.ncsa.security.installer.WebInstaller
-
-