Class AbstractDatabaseCreationAction

    • Constructor Detail

      • AbstractDatabaseCreationAction

        public AbstractDatabaseCreationAction()
    • Method Detail

      • execute

        public String execute()
                       throws com.atlassian.config.ConfigurationException
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        com.atlassian.config.ConfigurationException
      • getUnsuccessfulCodes

        protected Set<String> getUnsuccessfulCodes()
        Defines the set of codes by which if returned by setupDatabase(), signifies failure(s) during database creation.
        Returns:
        set of unsuccessful codes
      • persistInstanceKey

        protected void persistInstanceKey()
        Persists instance keys into database.
      • getBandanaManager

        public com.atlassian.bandana.BandanaManager getBandanaManager()
      • setSetupLocks

        public void setSetupLocks​(SetupLocks setupLocks)
      • setKeyPairInitialiser

        public void setKeyPairInitialiser​(KeyPairInitialiser keyPairInitialiser)
      • setBandanaManager

        public void setBandanaManager​(com.atlassian.bandana.BandanaManager bandanaManager)