org.jenkinsci.plugins.uithemes
Class UIThemesProcessor
java.lang.Object
org.jenkinsci.plugins.uithemes.UIThemesProcessor
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction
@Extension
public final class UIThemesProcessor
- extends Object
- implements hudson.model.RootAction
- Author:
- tom.fennelly@gmail.com
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIThemesProcessor
public UIThemesProcessor()
getInstance
public static UIThemesProcessor getInstance()
getContributors
protected List<UIThemeContributor> getContributors()
addContributor
public UIThemesProcessor addContributor(UIThemeContributor contributor)
removeContributor
public UIThemesProcessor removeContributor(UIThemeContributor contributor)
addPluginContributors
public void addPluginContributors(hudson.PluginManager pluginManager)
throws IOException
- Throws:
IOException
reset
public void reset()
getUserThemesCSS
public File getUserThemesCSS(hudson.model.User user)
throws IOException
- Throws:
IOException
deleteAllUserThemes
public void deleteAllUserThemes()
getUiThemeSet
public UIThemeSet getUiThemeSet()
createJenkinsEnvVariablesLESSFile
public static void createJenkinsEnvVariablesLESSFile(Properties variables)
throws IOException
- Throws:
IOException
getUserThemesDir
public static File getUserThemesDir(File userHome)
getJenkinsEnvVariablesFile
public static File getJenkinsEnvVariablesFile()
getUserThemeImplDir
public static File getUserThemeImplDir(String themeName,
String themeImplName,
File userHome)
getUserThemesCSSFile
public static File getUserThemesCSSFile(File userHome)
getUserThemeImplConfigFile
public static File getUserThemeImplConfigFile(String themeName,
String themeImplName,
File userHome)
getUserThemeImplLESSFile
public static File getUserThemeImplLESSFile(String themeName,
String themeImplName,
File userHome)
getUserThemeImplConfig
public static Map<String,String> getUserThemeImplConfig(String themeName,
String themeImplName,
File userHome)
throws IOException
- Throws:
IOException
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
doCss
public final org.kohsuke.stapler.HttpResponse doCss(org.kohsuke.stapler.StaplerRequest req)
throws IOException
- Throws:
IOException
Copyright © 2004-2015. All Rights Reserved.