static class StatusJob.ListenerVersion extends StatusJob.Listener
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOGGER
Logger instance for this class.
|
job, runner
Modifier | Constructor and Description |
---|---|
private |
StatusJob.ListenerVersion(StatusJob job)
Constructs an instance of
version command execution
state listener. |
Modifier and Type | Method and Description |
---|---|
void |
operationStateChanged(TaskState newState,
TaskEvent event,
String... args)
Get notification about state change in
Runner task. |
private boolean |
verifyResult()
Evaluate
version response to verify GlassFish server
version. |
clearRunner, setRunner
private static final Logger LOGGER
private StatusJob.ListenerVersion(StatusJob job)
version
command execution
state listener.
job
- Server status check internal data for individual GlassFish
server instance.private boolean verifyResult()
version
response to verify GlassFish server
version.
true
when version
response matches version in GlassFish server entity
or false
otherwise.public void operationStateChanged(TaskState newState, TaskEvent event, String... args)
Runner
task.
This is being called in Runner.call()
method execution
context.
String arguments passed to state listener:
args[0]
server name
args[1]
administration command
args[2]
exception message
args[3]
display message in GUI
newState
- New command execution state.event
- Event related to execution state change.args
- Additional String arguments.Copyright © 2013. All Rights Reserved.