org.jenkinsci.plugins.uithemes.model
Class UIThemeSet

java.lang.Object
  extended by org.jenkinsci.plugins.uithemes.model.UIThemeSet

public class UIThemeSet
extends Object

UI Theme Set.

See README.md.

A set of themes that "could" be applied for a user. The UIThemesProcessor uses this set to select the actual theme implementations to be applied, based on the users theme selection config.

Author:
tom.fennelly@gmail.com

Constructor Summary
UIThemeSet()
           
 
Method Summary
 boolean contribute(UIThemeContribution contribution)
           
 UITheme getTheme(String name)
           
 List<UIThemeContribution> getThemeImplContributions(String themeName, String themeImplName)
           
 Set<String> getThemeImplNames(String themeName)
           
 Set<String> getThemeNames()
           
 UITheme registerTheme(String name, String title)
           
 UITheme registerTheme(String name, String title, String description)
           
 UIThemeImplementation registerThemeImpl(String themeName, String themeImplName, String themeImplTitle)
           
 UIThemeImplementation registerThemeImpl(String themeName, String themeImplName, String themeImplTitle, String themeImplDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIThemeSet

public UIThemeSet()
Method Detail

registerTheme

public UITheme registerTheme(String name,
                             String title)

registerTheme

public UITheme registerTheme(String name,
                             String title,
                             String description)

getThemeNames

public Set<String> getThemeNames()

getThemeImplNames

public Set<String> getThemeImplNames(String themeName)

getTheme

public UITheme getTheme(String name)

registerThemeImpl

public UIThemeImplementation registerThemeImpl(String themeName,
                                               String themeImplName,
                                               String themeImplTitle)

registerThemeImpl

public UIThemeImplementation registerThemeImpl(String themeName,
                                               String themeImplName,
                                               String themeImplTitle,
                                               String themeImplDescription)

contribute

public boolean contribute(UIThemeContribution contribution)

getThemeImplContributions

public List<UIThemeContribution> getThemeImplContributions(String themeName,
                                                           String themeImplName)


Copyright © 2004-2015. All Rights Reserved.