Class AbstractInstaller

  • Direct Known Subclasses:
    OA4MPClientInstaller, OA4MPServerInstaller

    public abstract class AbstractInstaller
    extends edu.uiuc.ncsa.security.installer.WebInstaller
    This centralizes the common code for the server and client installers. In particular, it allows for getting tiles as resources and inserting them into a configuration.
    • Constructor Detail

      • AbstractInstaller

        public AbstractInstaller()
    • Method Detail

      • getStoreTileDirectory

        public String getStoreTileDirectory()
        The name of the resource directory with all of the tiles (snippets that will be substituted) for the release. Typically it is called /tiles/.
        Returns:
      • getSetup

        protected String getSetup()
        Overrides:
        getSetup in class edu.uiuc.ncsa.security.installer.WebInstaller
      • getStoreFilename

        protected String getStoreFilename​(String flag)
      • getDerbySetupScriptPath

        protected abstract String getDerbySetupScriptPath()
      • setupTemplates

        protected Map<String,​String> setupTemplates()
                                                   throws IOException
        Overrides:
        setupTemplates in class edu.uiuc.ncsa.security.installer.WebInstaller
        Throws:
        IOException
      • setupArgMap

        protected void setupArgMap​(String[] args)
        Overrides:
        setupArgMap in class edu.uiuc.ncsa.security.installer.WebInstaller
      • printMoreArgHelp

        protected void printMoreArgHelp()
                                 throws IOException
        Overrides:
        printMoreArgHelp in class edu.uiuc.ncsa.security.installer.WebInstaller
        Throws:
        IOException
      • doInstallOrUpdate

        protected void doInstallOrUpdate​(boolean isUpdate)
                                  throws Throwable
        Overrides:
        doInstallOrUpdate in class edu.uiuc.ncsa.security.installer.WebInstaller
        Throws:
        Throwable