public class SystemStatus extends Object implements Component, Initializable, Disposable
Modifier and Type | Field and Description |
---|---|
private Set<String> |
_systemStatus |
static String |
ROLE
The Avalon Role
|
Constructor and Description |
---|
SystemStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
addStatus(String status)
Add a system status
|
void |
dispose() |
Collection<String> |
getStatus()
Returns the system status
|
void |
initialize() |
boolean |
removeStatus(String status)
Add a system status
|
private Set<String> _systemStatus
public SystemStatus()
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public void dispose()
dispose
in interface Disposable
public Collection<String> getStatus()
public boolean addStatus(String status)
status
- The system status to addpublic boolean removeStatus(String status)
status
- The system status to remove