Class ConfigurationAction

    • Constructor Detail

      • ConfigurationAction

        public ConfigurationAction()
    • Method Detail

      • validate

        public void validate()
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • execute

        public String execute()
                       throws Exception
        Update the system with the administration configuration.
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Returns:
        WebWork status
        Throws:
        Exception
      • input

        public String input()
                     throws Exception
        Overrides:
        input in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getDefaultBaseUrl

        public String getDefaultBaseUrl()
        See if we can determine the default base url from the servlet request... otherwise use a preset default one
        Returns:
        The url
      • getActualBaseUrl

        public String getActualBaseUrl()
      • setBaseUrl

        public void setBaseUrl​(String url)
      • setGzipCompression

        public void setGzipCompression​(boolean enabled)
        The user has selected the GZip webpages (via a checkbox)
        Parameters:
        enabled - set to "on" by the webwork framework
      • getGzipCompression

        public boolean getGzipCompression()
        Informs the UI if the Gzip option is enabled.
        Returns:
        true if the pages should be compressed, false if not.
      • setInstanceName

        public void setInstanceName​(String instanceName)
      • isEnableGravatar

        public boolean isEnableGravatar()
      • setEnableGravatar

        public void setEnableGravatar​(boolean enableGravatar)
      • setGravatarService

        public void setGravatarService​(GravatarService gravatarService)
      • setBootstrapManager

        public void setBootstrapManager​(BootstrapManager bootstrapManager)
      • getDashboardPageSize

        public int getDashboardPageSize()
      • setDashboardPageSize

        public void setDashboardPageSize​(int dashboardPageSize)
      • getGravatarServerUrl

        public String getGravatarServerUrl()
      • setGravatarServerUrl

        public void setGravatarServerUrl​(String gravatarServerUrl)
      • getBrokerUrl

        public String getBrokerUrl()
      • setBrokerUrl

        public void setBrokerUrl​(String url)
      • getBrokerClientUrl

        public String getBrokerClientUrl()
      • setBrokerClientUrl

        public void setBrokerClientUrl​(String url)
      • getBranchDetectionInterval

        public int getBranchDetectionInterval()
      • setBranchDetectionInterval

        public void setBranchDetectionInterval​(int branchDetectionInterval)
      • isEnableRssPolling

        public boolean isEnableRssPolling()
      • setEnableRssPolling

        public void setEnableRssPolling​(boolean enableRssPolling)
      • getRssPollingCron

        public String getRssPollingCron()
      • setRssPollingCron

        public void setRssPollingCron​(String rssPollingCron)
      • isQuietPeriodGloballyDisabled

        public Boolean isQuietPeriodGloballyDisabled()
      • setQuietPeriodGloballyDisabled

        public void setQuietPeriodGloballyDisabled​(Boolean quietPeriodGloballyDisabled)