Class ColourSchemeAction

    • Constructor Detail

      • ColourSchemeAction

        public ColourSchemeAction()
    • 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
      • changeColorScheme

        public String changeColorScheme()
      • getColour

        public String getColour​(String key)
        Populates the colour setting text fields.

        If a value does not exist, we don't want any global or factory default values being inserted. instead its better to show null (or an empty text box) otherwise we may give the impression that global defaults can be modified from here

      • schemeKeyToParamKey

        public String schemeKeyToParamKey​(String key)
      • setResetDefaults

        public void setResetDefaults​(String resetDefaults)