public class GCondensedStatus extends Object
| Constructor and Description |
|---|
GCondensedStatus(GComponent... componentList)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(GComponent component)
Add a component to the condensed status object.
|
List<GComponent> |
getErrorComponentList()
Getter for the list of components in error status.
|
GIntervalAbstract.GStatus |
getStatus()
Getter for the global status having into account all the components.
|
List<GComponent> |
getWarningComponentList()
Getter for the list of components in warning status.
|
void |
update(GComponent... componentList)
Update the condensed status object with a list of components.
|
public GCondensedStatus(GComponent... componentList)
componentList - list of components (or component containers) whose status is to be had into account.public GIntervalAbstract.GStatus getStatus()
public List<GComponent> getWarningComponentList()
public List<GComponent> getErrorComponentList()
public void update(GComponent... componentList)
GCondensedStatusInterface it will add all its subcomponents and if not, it will be added
itself.componentList - list of components to update the condensed status object withpublic void add(GComponent component)
GCondensedStatusInterface,
but it redefines the fr.cnes.genius.main.GComponent#setStatus(GStatus) method and thus it has a
"global" status already defined (no need to condense a status from its subcomponents).component - to be added to the condensed status objectCopyright © 2024. All rights reserved.