| Package | Description |
|---|---|
| org.lsst.ccs.config |
Overview
|
| org.lsst.ccs.config.remote |
Remote operations on the Configuration service.
|
| org.lsst.ccs.startup |
Codes in this package are mostly mains for applications linked to subsystem startup.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigProfile |
Factories.copyProfile(ConfigProfile toBeCopied,
String newName,
String newUserName,
int newLevel,
boolean toEngineering)
to be used to create a copy of configuration with different name , tag, etc.
|
static ConfigProfile |
Factories.copyProfileForRegistration(ConfigProfile toBeCopied,
String newName,
String userName,
int newLevel,
boolean getRidOfStaticParameters)
create a new Profile copying a profile created during an engineering session
|
static ConfigProfile |
Factories.createConfigProfile(SubsystemDescription subsystemDesc,
String name,
String tag,
String userName,
int level)
Creates a new ConfigProfile with ParameterConfiguration where values
are just copied from the Description default value.
|
static ConfigProfile |
Factories.createRawConfigProfile(SubsystemDescription subsystemDesc,
String name,
String tag,
String userName,
int level)
Creates a new ConfigProfile that has no ParameterConfiguration (and so is not ready
to be persisted).
|
ConfigProfile |
ConfigurationFacade.deprecateConfigProfile(String subsystemName,
String name,
String tag)
Deprecates a ConfigProfile.
|
ConfigProfile |
ConfigurationFacade.getActiveConfigProfile(String subsystemName,
String name,
String tag)
returns an active ConfigProfile with name and tag
|
ConfigProfile |
ConfigurationFacade.getConfigRunningAt(String subsystemName,
long date)
returns the ConfigProfile active when a subsystem was running at that date.
|
ConfigProfile |
ConfigurationFacade.getConfigValidAt(String subsystemName,
String configName,
String configTag,
long date)
tries to get a ConfigProfile which was valid at a given date.
|
ConfigProfile |
LocalConfigurationProxy.getCurrentProfile() |
ConfigProfile |
ConfigurationFacade.getNext(ConfigProfile current)
gets the next modified ConfigProfile with same name and tag
|
ConfigProfile |
ConfigurationFacade.getPrevious(ConfigProfile current)
gets a previous ConfigProfile with the same name and tag.
|
ConfigProfile |
ConfigurationFacade.registerConfigProfile(ConfigProfile newProfile)
registers a ConfigProfile in the database.
|
static ConfigProfile |
Factories.repair(ConfigProfile oldProfile,
SubsystemDescription newDescription,
ConfigurationMismatchListener mismatchListener)
tries to create a new ConfigProfile from an old one.
|
| Modifier and Type | Method and Description |
|---|---|
List<ConfigProfile> |
ConfigurationFacade.Profiles.getNotRegistered() |
List<ConfigProfile> |
ConfigurationFacade.Profiles.getRegistered() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationFacade.Profiles.addNotRegistered(ConfigProfile conf) |
void |
ConfigurationFacade.Profiles.addRegistered(ConfigProfile conf) |
void |
DeprecationListener.configProfileDeprecating(ConfigProfile profile) |
static ConfigProfile |
Factories.copyProfile(ConfigProfile toBeCopied,
String newName,
String newUserName,
int newLevel,
boolean toEngineering)
to be used to create a copy of configuration with different name , tag, etc.
|
static ConfigProfile |
Factories.copyProfileForRegistration(ConfigProfile toBeCopied,
String newName,
String userName,
int newLevel,
boolean getRidOfStaticParameters)
create a new Profile copying a profile created during an engineering session
|
ConfigProfile |
ConfigurationFacade.getNext(ConfigProfile current)
gets the next modified ConfigProfile with same name and tag
|
ConfigProfile |
ConfigurationFacade.getPrevious(ConfigProfile current)
gets a previous ConfigProfile with the same name and tag.
|
ParameterConfiguration |
ConfigurationFacade.modifyParmDuringEngineering(ConfigProfile profile,
String path,
long timeStamp,
String value)
changes a parameter value during engineering session
|
ConfigProfile |
ConfigurationFacade.registerConfigProfile(ConfigProfile newProfile)
registers a ConfigProfile in the database.
|
static ConfigProfile |
Factories.repair(ConfigProfile oldProfile,
SubsystemDescription newDescription,
ConfigurationMismatchListener mismatchListener)
tries to create a new ConfigProfile from an old one.
|
void |
MemoryDAO.saveAbstractConfig(ConfigProfile profile) |
void |
LocalConfigurationProxy.setBaseProfile(ConfigProfile profile) |
| Constructor and Description |
|---|
LocalConfigurationProxy(ConfigProfile configProfile) |
PreparedConfiguration(ConfigProfile profile) |
| Modifier and Type | Field and Description |
|---|---|
ConfigProfile |
ProfileDeprecationEvent.deprecating |
| Modifier and Type | Method and Description |
|---|---|
ConfigProfile |
ConfigurationServiceImpl.getActiveConfigProfile(String subsystemName,
String name,
String tag) |
ConfigProfile |
ConfigurationServerModule.getActiveConfigProfile(String subsystemName,
String name,
String tag) |
ConfigProfile |
RMIConfigurationServer.getActiveConfigProfile(String subsystemName,
String name,
String tag) |
ConfigProfile |
ConfigurationService.getActiveConfigProfile(String subsystemName,
String name,
String tag)
gets an active ConfigProfile with anme and tag
|
ConfigProfile |
ConfigurationServiceImpl.getConfigRunningAt(String subsystemName,
long date) |
ConfigProfile |
ConfigurationServerModule.getConfigRunningAt(String subsystemName,
long date) |
ConfigProfile |
RMIConfigurationServer.getConfigRunningAt(String subsystemName,
long date) |
ConfigProfile |
ConfigurationService.getConfigRunningAt(String subsystemName,
long date)
Returns the Configuration which was running for a given subsystem at a moment in time
|
ConfigProfile |
ConfigurationServiceImpl.getConfigValidAt(String subsystemName,
String name,
String tag,
long date) |
ConfigProfile |
ConfigurationServerModule.getConfigValidAt(String subsystemName,
String name,
String tag,
long date) |
ConfigProfile |
RMIConfigurationServer.getConfigValidAt(String subsystemName,
String name,
String tag,
long date) |
ConfigProfile |
ConfigurationService.getConfigValidAt(String subsystemName,
String configName,
String configTag,
long date)
Gets a ConfigProfile which was (or is) valid at a precise moment.
|
ConfigProfile |
ConfigurationServiceImpl.getNext(ConfigProfile current) |
ConfigProfile |
ConfigurationServerModule.getNext(ConfigProfile current) |
ConfigProfile |
RMIConfigurationServer.getNext(ConfigProfile current) |
ConfigProfile |
ConfigurationService.getNext(ConfigProfile current)
Gets a (deprecated or "alive") ConfigProfile with same name and tag
as the argument
|
ConfigProfile |
ConfigurationServiceImpl.getPrevious(ConfigProfile current) |
ConfigProfile |
ConfigurationServerModule.getPrevious(ConfigProfile current) |
ConfigProfile |
RMIConfigurationServer.getPrevious(ConfigProfile current) |
ConfigProfile |
ConfigurationService.getPrevious(ConfigProfile current)
gets a (deprecated) ConfigProfile with same name and tag
as the argument.
|
ConfigProfile |
ProfileResult.getResult() |
| Modifier and Type | Method and Description |
|---|---|
ConfigProfile |
ConfigurationServiceImpl.getNext(ConfigProfile current) |
ConfigProfile |
ConfigurationServerModule.getNext(ConfigProfile current) |
ConfigProfile |
RMIConfigurationServer.getNext(ConfigProfile current) |
ConfigProfile |
ConfigurationService.getNext(ConfigProfile current)
Gets a (deprecated or "alive") ConfigProfile with same name and tag
as the argument
|
ConfigProfile |
ConfigurationServiceImpl.getPrevious(ConfigProfile current) |
ConfigProfile |
ConfigurationServerModule.getPrevious(ConfigProfile current) |
ConfigProfile |
RMIConfigurationServer.getPrevious(ConfigProfile current) |
ConfigProfile |
ConfigurationService.getPrevious(ConfigProfile current)
gets a (deprecated) ConfigProfile with same name and tag
as the argument.
|
ProfileResult |
ConfigurationServiceImpl.registerConfigProfile(ConfigProfile newProfile) |
ProfileResult |
ConfigurationServerModule.registerConfigProfile(ConfigProfile newProfile) |
ProfileResult |
RMIConfigurationServer.registerConfigProfile(ConfigProfile newProfile) |
ProfileResult |
ConfigurationService.registerConfigProfile(ConfigProfile newProfile)
Registers a new ConfigProfile in the configuration service.
|
| Constructor and Description |
|---|
ProfileDeprecationEvent(ConfigProfile deprecating,
String detail) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BootUtils.checkStaticCompatibleConfiguration(ConfigProfile profile)
to be invoked before registering a ConfigProfile which is not meant
to be used for changing values at runtime.
|
static Subsystem |
BootUtils.getRawSubsystemFromEffectiveNode(EffectiveNode effectiveNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag,
ConfigurationProxy confProxy) |
static Subsystem |
BootUtils.rawSubsystemFromDescriptionNode(DescriptiveNode descriptionNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag,
ConfigurationProxy confProxy) |
void |
NodeModularSubsystem.switchConfiguration(ConfigProfile oldProfile,
ConfigProfile newProfile)
TODO: modify this code: the quesiton is what is changed between profiles
2 different cases: after engineering modifications and other switches.
|
Copyright © 2015 LSST. All rights reserved.