public class BootUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BootUtils.LocalBootObject
Very important class: when an instance is created you can have :
a descriptive Node
the names of subsystem, configuration, tag
the corresponding Effective Node
a Subsystem ready to run (but not started)
|
| Constructor and Description |
|---|
BootUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bootFromCache() |
static void |
checkStaticCompatibleConfiguration(org.lsst.ccs.config.ConfigProfile profile)
to be invoked before registering a ConfigProfile which is not meant
to be used for changing values at runtime.
|
static org.lsst.gruth.jutils.DescriptiveNode |
getDescriptiveNode(String pathName)
gets a descriptive node from a file
|
static org.lsst.gruth.jutils.EffectiveNode |
getEffectiveNode(org.lsst.gruth.jutils.DescriptiveNode descriptionNode)
gets an effective node from a description node
|
static org.lsst.gruth.jutils.EffectiveNode |
getEffectiveNodeFromFile(String pathName)
gets an effective node from a file
|
static org.lsst.gruth.jutils.DescriptiveNode |
getLatestInCache() |
static Subsystem |
getRawSubsystemFromEffectiveNode(org.lsst.gruth.jutils.EffectiveNode effectiveNode,
org.lsst.ccs.config.ConfigProfile profile,
String subsystemName,
String configName,
String tag,
ConfigurationProxy confProxy) |
static Subsystem |
getSubsystemFromFile(String pathName) |
static Subsystem |
getSubsystemFromFile(String pathName,
String propertiesFileName) |
static Subsystem |
getSubsystemFromFile(String pathName,
String propertiesFileName,
String subsystemAlias) |
static Subsystem |
rawSubsystemFromDescriptionNode(org.lsst.gruth.jutils.DescriptiveNode descriptionNode,
org.lsst.ccs.config.ConfigProfile profile,
String subsystemName,
String configName,
String tag,
ConfigurationProxy confProxy) |
static void |
saveInCache(org.lsst.gruth.jutils.DescriptiveNode node,
String subsystemName,
String configName,
String tag)
saves the latest run configuration in a local cache.
|
public static org.lsst.gruth.jutils.DescriptiveNode getDescriptiveNode(String pathName) throws Exception
pathName - Exceptionpublic static org.lsst.gruth.jutils.EffectiveNode getEffectiveNode(org.lsst.gruth.jutils.DescriptiveNode descriptionNode)
throws InvocationTargetException,
NoSuchMethodException,
IllegalAccessException
descriptionNode - InvocationTargetExceptionNoSuchMethodExceptionIllegalAccessExceptionpublic static org.lsst.gruth.jutils.EffectiveNode getEffectiveNodeFromFile(String pathName) throws Exception
pathName - Exceptionpublic static Subsystem getRawSubsystemFromEffectiveNode(org.lsst.gruth.jutils.EffectiveNode effectiveNode, org.lsst.ccs.config.ConfigProfile profile, String subsystemName, String configName, String tag, ConfigurationProxy confProxy)
public static Subsystem rawSubsystemFromDescriptionNode(org.lsst.gruth.jutils.DescriptiveNode descriptionNode, org.lsst.ccs.config.ConfigProfile profile, String subsystemName, String configName, String tag, ConfigurationProxy confProxy) throws Exception
Exceptionpublic static Subsystem getSubsystemFromFile(String pathName) throws Exception
Exceptionpublic static Subsystem getSubsystemFromFile(String pathName, String propertiesFileName) throws Exception
Exceptionpublic static Subsystem getSubsystemFromFile(String pathName, String propertiesFileName, String subsystemAlias) throws Exception
Exceptionpublic static void saveInCache(org.lsst.gruth.jutils.DescriptiveNode node,
String subsystemName,
String configName,
String tag)
node - subsystemName - configName - tag - public static org.lsst.gruth.jutils.DescriptiveNode getLatestInCache()
public static void bootFromCache()
public static void checkStaticCompatibleConfiguration(org.lsst.ccs.config.ConfigProfile profile) throws Exception
profile - ExceptionCopyright © 2015 LSST. All rights reserved.