@Deprecated public class ChannelUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.thales.punch.settings.api.ISettingsMap |
getChannelDescription(String channel,
Iterable<String> processOutputs)
Deprecated.
Get a channel status description (status, jobs, ...) by channel name from json subprocess list of outputs
|
static String |
getStatus(org.thales.punch.settings.api.ISettingsMap channelState)
Deprecated.
Get the status of the channel inside its description
|
public static org.thales.punch.settings.api.ISettingsMap getChannelDescription(String channel, Iterable<String> processOutputs)
channel
- Name of the channelprocessOutputs
- The state descriptions from the punchctl execution outputspublic static String getStatus(org.thales.punch.settings.api.ISettingsMap channelState)
channelState
- Map of a channel description from a json subprocess output (usually get from method
'getChannelDescription')Copyright © 2023. All rights reserved.