Uses of Interface
org.sakaiproject.component.api.ServerConfigurationService.ConfigItem
-
Packages that use ServerConfigurationService.ConfigItem Package Description org.sakaiproject.component.api org.sakaiproject.util -
-
Uses of ServerConfigurationService.ConfigItem in org.sakaiproject.component.api
Classes in org.sakaiproject.component.api that implement ServerConfigurationService.ConfigItem Modifier and Type Class Description static classServerConfigurationService.ConfigurationListener.BlockingConfigItemThis is a special marker class that is used in theServerConfigurationService.ConfigurationListener, returning this indicates that the config change should stop processing the change and retain the original valueMethods in org.sakaiproject.component.api that return ServerConfigurationService.ConfigItem Modifier and Type Method Description ServerConfigurationService.ConfigItemServerConfigurationService.ConfigurationListener. changing(ServerConfigurationService.ConfigItem currentConfigItem, ServerConfigurationService.ConfigItem newConfigItem)This will be called each time aServerConfigurationService.ConfigItemis changed, this will be called before the item has been changed and will reflect the current values for this config item.ServerConfigurationService.ConfigItemServerConfigurationService.ConfigItem. copy()Duplicate this config item This is mostly used to ensure we do not send the internal objects out where they could be changedServerConfigurationService.ConfigItemServerConfigurationService.ConfigurationListener.BlockingConfigItem. copy()ServerConfigurationService.ConfigItemServerConfigurationService. getConfigItem(String name)Retrieve the internally stored the config item, this is not really for general use, if you want the value of a configuration variable then you should useServerConfigurationService.getConfig(String, Object)ServerConfigurationService.ConfigItemServerConfigurationService. registerConfigItem(ServerConfigurationService.ConfigItem configItem)Register a configuration item (or override an existing config), this should be called when changing or creating a configuration settingMethods in org.sakaiproject.component.api that return types with arguments of type ServerConfigurationService.ConfigItem Modifier and Type Method Description List<ServerConfigurationService.ConfigItem>ServerConfigurationService.ConfigData. getItems()List<ServerConfigurationService.ConfigItem>ServerConfigurationService.ConfigurationProvider. registerConfigItems(ServerConfigurationService.ConfigData configData)Register a set of configuration items, these will be loaded after the base properties are loaded (from properties files) but before the rest of Sakai starts up so they will be allowed to override the base propertiesMethods in org.sakaiproject.component.api with parameters of type ServerConfigurationService.ConfigItem Modifier and Type Method Description voidServerConfigurationService.ConfigurationListener. changed(ServerConfigurationService.ConfigItem configItem, ServerConfigurationService.ConfigItem previousConfigItem)This will be called each time aServerConfigurationService.ConfigItemis changed, this will be called after the item has been changed and will reflect the new values for this config item NOTE: it does NOT include the the initial registration of that config item and initial startup of theServerConfigurationServiceServerConfigurationService.ConfigItemServerConfigurationService.ConfigurationListener. changing(ServerConfigurationService.ConfigItem currentConfigItem, ServerConfigurationService.ConfigItem newConfigItem)This will be called each time aServerConfigurationService.ConfigItemis changed, this will be called before the item has been changed and will reflect the current values for this config item.ServerConfigurationService.ConfigItemServerConfigurationService. registerConfigItem(ServerConfigurationService.ConfigItem configItem)Register a configuration item (or override an existing config), this should be called when changing or creating a configuration setting -
Uses of ServerConfigurationService.ConfigItem in org.sakaiproject.util
Classes in org.sakaiproject.util that implement ServerConfigurationService.ConfigItem Modifier and Type Class Description classBasicConfigItemProvides an easy way for someone to create aServerConfigurationService.ConfigItemwhich is valid without having to build their own implementation Use the static methods to easily generate theServerConfigurationService.ConfigItemfor use with the methods in theServerConfigurationServiceMethods in org.sakaiproject.util that return ServerConfigurationService.ConfigItem Modifier and Type Method Description ServerConfigurationService.ConfigItemBasicConfigItem. copy()static ServerConfigurationService.ConfigItemBasicConfigItem. makeConfigItem(String name, Object value, Object defaultValue, String description, String source, boolean dynamic)Create a complete config item with default value and a description which can be dynamicstatic ServerConfigurationService.ConfigItemBasicConfigItem. makeConfigItem(String name, Object value, String source)Create a basic config item which stores a valuestatic ServerConfigurationService.ConfigItemBasicConfigItem. makeConfigItem(String name, Object value, String source, boolean dynamic)Create a basic config item which can be dynamicstatic ServerConfigurationService.ConfigItemBasicConfigItem. makeConfigItem(String name, Object value, String description, String source, boolean dynamic)Create a basic config item with description which can be dynamicstatic ServerConfigurationService.ConfigItemBasicConfigItem. makeDefaultedConfigItem(String name, Object defaultValue, String source)Create a config item which stores a default value but does not have an actual value
-