|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.startup.BootUtils
public class BootUtils
A collection of static utilities linked to boot operations. Note that:
| Nested Class Summary | |
|---|---|
static class |
BootUtils.LocalBootObject
|
| Constructor Summary | |
|---|---|
BootUtils()
|
|
| Method Summary | |
|---|---|
static String |
baseNameFromNames(NamesAndTag namesAndTag)
creates a fileName from a NamesAndTag object (reverse operation of namesFromPath |
static void |
bootFromCache()
|
static void |
bootSubsystemFromDescriptionNode(org.lsst.gruth.jutils.ComponentNode node,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
Deprecated. |
static void |
bootSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String pathName)
Deprecated. |
static void |
bootSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
Deprecated. |
static org.lsst.gruth.jutils.ComponentNode |
getDescriptiveNode(String pathName)
gets a descriptive node from a file |
static org.lsst.gruth.jutils.ComponentNode |
getEffectiveNode(org.lsst.gruth.jutils.ComponentNode descriptionNode)
gets an effective node from a description node |
static org.lsst.gruth.jutils.ComponentNode |
getEffectiveNodeFromFile(String pathName)
gets an effective node from a file |
static InputStream |
getInput(Class clazz,
String pathName)
searches for a file as a local file or a resource linked to a class or a global resource. |
static org.lsst.gruth.jutils.ComponentNode |
getLatestInCache()
|
static org.lsst.ccs.Subsystem |
getRawSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String pathName)
Deprecated. |
static org.lsst.ccs.Subsystem |
getRawSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
|
static org.lsst.ccs.Subsystem |
getSubsystemFromFile(String pathName)
|
static org.lsst.ccs.Subsystem |
getSubsystemFromFile(String pathName,
String propertiesFileName)
|
static NamesAndTag |
namesFromPath(String pathName)
gets subsystem name, configName and tag name from pathName |
static org.lsst.ccs.Subsystem |
rawSubsystemFromDescriptionNode(org.lsst.gruth.jutils.ComponentNode descriptionNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
|
static void |
saveInCache(org.lsst.gruth.jutils.ComponentNode node,
String subsystemName,
String configName,
String tag)
saves the latest run configuration in a local cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootUtils()
| Method Detail |
|---|
public static org.lsst.gruth.jutils.ComponentNode getDescriptiveNode(String pathName)
throws Exception
pathName -
Exception
public static org.lsst.gruth.jutils.ComponentNode getEffectiveNode(org.lsst.gruth.jutils.ComponentNode descriptionNode)
throws InvocationTargetException,
NoSuchMethodException,
IllegalAccessException
descriptionNode -
InvocationTargetException
NoSuchMethodException
IllegalAccessException
public static org.lsst.gruth.jutils.ComponentNode getEffectiveNodeFromFile(String pathName)
throws Exception
pathName -
Exception
public static org.lsst.ccs.Subsystem getRawSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
@Deprecated
public static org.lsst.ccs.Subsystem getRawSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String pathName)
public static org.lsst.ccs.Subsystem rawSubsystemFromDescriptionNode(org.lsst.gruth.jutils.ComponentNode descriptionNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
throws Exception
Exception
@Deprecated
public static void bootSubsystemFromDescriptionNode(org.lsst.gruth.jutils.ComponentNode node,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
throws Exception
Exception
@Deprecated
public static void bootSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String subsystemName,
String configName,
String tag)
@Deprecated
public static void bootSubsystemFromEffectiveNode(org.lsst.gruth.jutils.ComponentNode effectiveNode,
ConfigProfile profile,
String pathName)
throws Exception
Exception
public static org.lsst.ccs.Subsystem getSubsystemFromFile(String pathName)
throws Exception
Exception
public static org.lsst.ccs.Subsystem getSubsystemFromFile(String pathName,
String propertiesFileName)
throws Exception
Exception
public static void saveInCache(org.lsst.gruth.jutils.ComponentNode node,
String subsystemName,
String configName,
String tag)
node - subsystemName - configName - tag - public static org.lsst.gruth.jutils.ComponentNode getLatestInCache()
public static void bootFromCache()
public static InputStream getInput(Class clazz,
String pathName)
throws IOException
clazz - pathName -
IOExceptionpublic static NamesAndTag namesFromPath(String pathName)
pathName -
public static String baseNameFromNames(NamesAndTag namesAndTag)
namesAndTag -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||