
public interface ConfigurationProxy
| Modifier and Type | Field and Description |
|---|---|
static ConfigurationProxy |
NONE |
| Modifier and Type | Method and Description |
|---|---|
ViewValue |
checkForParameterChange(String componentName,
String parameterName,
Object value)
first part of a two phase commit
|
void |
dropModifications()
Drops the current changes (delta) and gets back to the previous configuration state;
TODO exception if configuration service unavailable
|
String |
getConfigurationName()
the current running Configuration name
|
Object |
getDefaultParameterValue(String componentName,
String parameterName)
gets the default value for the given parameter in the current configuration
|
Optional<Subsystem> |
getSubsystem()
returns the subsystem for which it operates
|
String |
getTagName()
the current tag name (can be null or empty)
|
void |
notifyParameterChange(String componentName,
String parameterName,
String stringValue)
second part of a two phase commit.
|
void |
notifyUncheckedParameterChange(String componentName,
String parameterName,
Object Value)
notifies directly of a change without preliminary check to the configuration service.
|
void |
registerConfiguration(String configurationName) |
void |
registerConfiguration(String configurationName,
String tagName)
Deprecated.
|
void |
saveModifications(String configurationName)
Saves the current changes (delta)
|
void |
setSubsystem(Subsystem subsystem)
tells the proxy which is the subsystem it is working for
(then will know about the messaging system and the state of the subystem)
|
void |
startNewConfigurationContext()
engineering mode start notification.
|
static final ConfigurationProxy NONE
String getConfigurationName()
String getTagName()
void startNewConfigurationContext()
IllegalStateException - if not called in normal modeViewValue checkForParameterChange(String componentName, String parameterName, Object value)
componentName - parameterName - value - IllegalArgumentException - if component or parameter does not existIllegalStateException - if called in normal mode (but implementation can decide to fire engineering mode)void notifyParameterChange(String componentName, String parameterName, String stringValue)
componentName - parameterName - stringValue - void notifyUncheckedParameterChange(String componentName, String parameterName, Object Value)
componentName - parameterName - Value - @Deprecated void registerConfiguration(String configurationName, String tagName) throws IOException
configurationName - tagName - IOExceptionvoid registerConfiguration(String configurationName) throws IOException
IOExceptionvoid dropModifications()
void saveModifications(String configurationName)
configurationName - Object getDefaultParameterValue(String componentName, String parameterName)
componentName - parameterName - IllegalArgumentException - if no such parameter or componentvoid setSubsystem(Subsystem subsystem)
subsystem - Copyright © 2015 LSST. All rights reserved.