public interface ProcessStateNotifier
ControlledProcessState.State of the process
and to register for notifications of state changes.| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a listener for changes in the current state.
|
ControlledProcessState.State |
getCurrentState()
Gets the current state of the controlled process.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener for changes in the current state.
|
ControlledProcessState.State getCurrentState()
nullvoid addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeEvent whose property name will be currentState.
If listener is null, no exception is thrown and no action
is taken.listener - the listenervoid removePropertyChangeListener(PropertyChangeListener listener)
listener was added more than once,
it will be notified one less time after being removed.
If listener is null, or was never added, no exception is
thrown and no action is taken.listener - the listenerCopyright © 2021 JBoss by Red Hat. All rights reserved.