org.jenkinsci.plugins.uithemes.model
Class UserUIThemeConfiguration

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

public class UserUIThemeConfiguration
extends Object

Author:
tom.fennelly@gmail.com

Nested Class Summary
static class UserUIThemeConfiguration.UserUIThemeSelection
           
 
Field Summary
static String FILE_THEME_USER_CONFIG
           
 List<UserUIThemeConfiguration.UserUIThemeSelection> userThemes
           
 
Constructor Summary
UserUIThemeConfiguration()
           
 
Method Summary
 UserUIThemeConfiguration addSelection(String themeName, String themeImplName)
           
static UserUIThemeConfiguration fromUserHome(File userHome)
           
static UserUIThemeConfiguration fromUserHome(hudson.model.User user)
           
 String getUserThemeSelection(String themeName)
           
static void toUserHome(File userHome, UserUIThemeConfiguration themeConfiguration)
           
static void toUserHome(hudson.model.User user, UserUIThemeConfiguration themeConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_THEME_USER_CONFIG

public static final String FILE_THEME_USER_CONFIG
See Also:
Constant Field Values

userThemes

public List<UserUIThemeConfiguration.UserUIThemeSelection> userThemes
Constructor Detail

UserUIThemeConfiguration

public UserUIThemeConfiguration()
Method Detail

getUserThemeSelection

public String getUserThemeSelection(String themeName)

addSelection

public UserUIThemeConfiguration addSelection(String themeName,
                                             String themeImplName)

fromUserHome

public static UserUIThemeConfiguration fromUserHome(File userHome)
                                             throws IOException
Throws:
IOException

fromUserHome

public static UserUIThemeConfiguration fromUserHome(hudson.model.User user)
                                             throws IOException
Throws:
IOException

toUserHome

public static void toUserHome(File userHome,
                              UserUIThemeConfiguration themeConfiguration)
                       throws IOException
Throws:
IOException

toUserHome

public static void toUserHome(hudson.model.User user,
                              UserUIThemeConfiguration themeConfiguration)
                       throws IOException
Throws:
IOException


Copyright © 2004-2015. All Rights Reserved.