Class ColorsStylesheetAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class ColorsStylesheetAction
    extends ConfluenceActionSupport
    Used for rendering Confluence's color stylesheet, using either the global or space color scheme.

    Expected parameters: spaceKey (empty for global).

    See Also:
    Serialized Form
    • Constructor Detail

      • ColorsStylesheetAction

        public ColorsStylesheetAction()
    • Method Detail

      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getColorScheme

        public ColorSchemeBean getColorScheme()
        For Americans and other people who can't spell.
      • setColourSchemeManager

        public void setColourSchemeManager​(ColourSchemeManager colourSchemeManager)
      • setSpaceKey

        public void setSpaceKey​(String spaceKey)