java.lang.Object
org.yamcs.StreamConfig
Stores the value of the streamConfiguration parameter from yamcs.instance.yaml Used to create the streams at Yamcs
startup and by various other services (recording, processor, ...)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classclassclass -
Method Summary
Modifier and TypeMethodDescriptionget all stream configurationsget stream configuration of a specific type.getEntry(StreamConfig.StandardStreamType type, String streamName) returns the stream config with the given type and name or null if it has not been definedstatic StreamConfiggetInstance(String yamcsInstance) getTcEntry(String streamName) getTmEntry(String streamName)
-
Method Details
-
getInstance
- Throws:
ConfigurationException
-
getEntries
get all stream configurations- Returns:
- a list of stream configuration
-
getStreamNames
-
getEntries
get stream configuration of a specific type. Returns an empty list if no stream of that type has been defined- Returns:
- a list of stream configuration of the given type
-
getEntry
public StreamConfig.StreamConfigEntry getEntry(StreamConfig.StandardStreamType type, String streamName) returns the stream config with the given type and name or null if it has not been defined- Parameters:
type-streamName-- Returns:
-
getTmEntry
-
getTmEntries
-
getTcEntry
-
getTcEntries
-