| Package | Description |
|---|---|
| org.lsst.ccs |
This package deals with core classes for subsystems.
|
| org.lsst.ccs.bus.messages |
This package defines all the standard messages for the CCS buses.
|
| org.lsst.ccs.bus.states | |
| org.lsst.ccs.messaging |
Package defining the CCS Messaging interfaces.
|
| org.lsst.ccs.services |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
Agent.getState()
Deprecated.
use
AgentStateService::getState() instead |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Agent.isInState(StateBundle state)
Deprecated.
use
AgentStateService::isInState(StateBundle) instead |
void |
Agent.updateAgentState(StateBundle stateChanges)
Deprecated.
use
AgentStateService::updateAgentState(StateBundle)
instead |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Agent.waitFor(Predicate<StateBundle> target,
long timeout,
TimeUnit unit)
Deprecated.
use
AgentStateService::waitFor(Predicate<StateBundle>, long, TimeUnit)
instead |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StatusStateChangeNotification.getNewState()
Get the new state of the Agent.
|
StateBundle |
StatusStateChangeNotification.getOldState()
Get the old state of the Agent.
|
StateBundle |
StatusMessage.getState()
Get the published State object that contains the Agent's internal state
at the moment the StatusMessage was published.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
StatusStateChangeNotification.encodeObject(StateBundle obj) |
| Constructor and Description |
|---|
StatusClearedAlert(String[] clearAlertIds,
StateBundle state,
RaisedAlertSummary raisedAlertSummary)
Build a StatusClearAlert from the provided String array and the
RaisedAlertSummary of the subsystem. |
StatusCommandDictionary(HashMap<String,org.lsst.ccs.command.Dictionary> dictionary,
StateBundle state) |
StatusConfigurationInfo(ConfigurationInfo configurationInfo,
StateBundle state)
Create a StatusConfigurationInfo message by providing the state of the agent
and the ConfigurationInfo object to be sent.
|
StatusData(KeyValueData obj,
StateBundle state)
Build a StatusMessage from the provided Object.
|
StatusDataProviderDictionary(DataProviderDictionary dataProviderDictionary,
StateBundle state)
Create a StatusDataProviderDictionary message by providing the DataProviderDictionary.
|
StatusEnum(T obj,
StateBundle state) |
StatusHeartBeat(int statusBroadcastPeriod,
StateBundle state) |
StatusMessage(T obj,
StateBundle state)
Build a StatusMessage from the provided Object.
|
StatusRaisedAlert(Alert alert,
String cause,
StateBundle state) |
StatusRaisedAlert(Alert alert,
String cause,
StateBundle state,
RaisedAlertSummary raisedAlertSummary)
Build a StatusAlert from the provided RaisedAlert.
|
StatusRaisedAlertSummary(RaisedAlertSummary alertSummary,
StateBundle state) |
StatusRuntimeInfo(RuntimeInfo runtimeInfo,
StateBundle state)
Create a StatusRuntimeInfo message by providing the state of the agent.
|
StatusStateChangeNotification(StateBundle oldState,
StateBundle newState)
Create a StatusStateChangeNotification object.
|
StatusSubsystemData(KeyValueData kvData,
StateBundle state)
Build a StatusMessage from the provided Object.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundle.clone() |
StateBundle |
StateBundle.diffState(StateBundle oldState)
Finds what has changed.
|
StateBundle |
StateBundle.getComponentStateBundle(String component)
Get the StateBundle for the given component.
|
StateBundle |
StateBundle.mergeState(StateBundle newState)
Merge the content of two StateBundle objects returning an updated cloned
version of the original StateBundle object.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundle.diffState(StateBundle oldState)
Finds what has changed.
|
boolean |
StateBundle.isComponentInState(String component,
StateBundle stateBundle)
Check if this component is in all the states of a given StateBundle.
|
boolean |
StateBundle.isInState(StateBundle stateBundle)
Check if this StateBundle is in all the states of a given StateBundle.
|
static boolean |
AgentState.isLegal(StateBundle bundle)
Returns
true if Agent internal states in the specified bundle are consistent. |
static boolean |
AgentState.isLegal(StateBundle before,
StateBundle after)
Returns
true if the transition between Agent internal states specified
by the two bundles is allowed. |
StateBundle |
StateBundle.mergeState(StateBundle newState)
Merge the content of two StateBundle objects returning an updated cloned
version of the original StateBundle object.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundleAggregator.getState(String origin) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,StateBundle> |
StateBundleAggregator.getStates() |
| Modifier and Type | Method and Description |
|---|---|
void |
StateBundleAggregator.notifyObservers(String origin,
StateBundle old,
StateBundle change) |
void |
StateBundleAggregator.Observer.stateChanged(String sysName,
StateBundle out,
StateBundle changed) |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
AgentStateService.getState() |
StateBundle |
AgentStateService.AgentStateServiceCommands.getState()
Returns a copy of a state bundle of this Agent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AgentStateService.isInState(StateBundle state)
Checks if this
Agent is in all of the states contained in the given StateBundle. |
protected void |
AgentStateService.publishStateChange(StateBundle before,
StateBundle after)
Publishes state transition.
|
void |
AgentStateService.updateAgentState(StateBundle stateChanges)
Updates the state of this Agent and publishes StateChangeNotification message
only if the Agent is connected to the buses.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AgentStateService.waitFor(Predicate<StateBundle> target,
long timeout,
TimeUnit unit)
Block until this
Agent is in state that satisfies the specified predicate. |
Copyright © 2019 LSST. All rights reserved.