static class StatusJob.ListenerLocations 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.ListenerLocations(StatusJob job)
Constructs an instance of
__locations 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
__locations response to verify GlassFish server
home and domain directories. |
clearRunner, setRunner
private static final Logger LOGGER
private StatusJob.ListenerLocations(StatusJob job)
__locations
command execution
state listener.
job
- Server status check internal data for individual GlassFish
server instance.private boolean verifyResult()
__locations
response to verify GlassFish server
home and domain directories.
true
when __locations
response matches domain directory 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.