org.jenkinsci.plugins.uithemes.model
Class UIThemeContribution
java.lang.Object
org.jenkinsci.plugins.uithemes.model.UIThemeContribution
public class UIThemeContribution
- extends Object
UI Theme Contribution.
See README.md.
A given theme "implementation" (UIThemeImplementation) can have multiple resources
"contributed" to it by Jenkins core (and/or 0+ plugins). If you think about the "icon" theme
and it's "classic" implementation, Jenkins core makes a theme resource contribution that defines
the core set of "classic" icons, but each of the plugins can also contribute to that same
theme implementation. The same obviously applies for other "icon" themes might be created
e.g. a "font-awesome" theme.
- Author:
- tom.fennelly@gmail.com
UIThemeContribution
public UIThemeContribution(String contributionName,
String themeName,
String themeImplName,
Class<?> contributor)
getContributionName
public String getContributionName()
getContributor
public Class<?> getContributor()
getThemeName
public String getThemeName()
getThemeImplName
public String getThemeImplName()
createUserLessResource
public org.lesscss.Resource createUserLessResource(File userHome,
UIThemeImplementation implementation)
throws IOException
- Throws:
IOException
getQName
public QName getQName()
toString
public String toString()
- Overrides:
toString in class Object
getUserThemeImplConfig
protected Map<String,String> getUserThemeImplConfig(File userHome)
throws IOException
- Throws:
IOException
Copyright © 2004-2015. All Rights Reserved.