public static class ServerStatus.ResultLocations extends ServerStatus.Result
__locations
command
including additional information.
This class stores task execution result only. Value SUCCESS
means that Locations command task execution finished successfully but it
does not mean that administration command itself returned with
COMPLETED
status.
When SUCCESS
status is set, stored result
value
shall be examined too to see real administration command execution
result.Modifier and Type | Field and Description |
---|---|
(package private) ResultMap<String,String> |
result
Command
__locations execution result. |
status
Constructor and Description |
---|
ServerStatus.ResultLocations(ResultMap<String,String> result,
ServerStatus.Status status,
TaskEvent failureEvent,
String serverName,
String exceptionMeasage)
Creates an instance of individual server status result
for
__locations command. |
ServerStatus.ResultLocations(ServerStatus.Status status,
Exception ex,
TaskEvent failureEvent,
String serverName,
String exceptionMeasage)
Creates an instance of individual server status result
for
__locations command. |
ServerStatus.ResultLocations(ServerStatus.Status status,
TaskEvent failureEvent,
String serverName,
String exceptionMeasage)
Creates an instance of individual server status result
for
__locations command. |
Modifier and Type | Method and Description |
---|---|
ResultMap<String,String> |
getResult()
Get
__locations command execution result. |
getExceptionMeasage, getFailureEvent, getServerName, getStatus
ServerStatus.ResultLocations(ResultMap<String,String> result, ServerStatus.Status status, TaskEvent failureEvent, String serverName, String exceptionMeasage)
__locations
command.
Command __locations
result is stored.
status
- Individual server status returned.failureEvent
- Failure cause.serverName
- Target GlassFish server name.exceptionMeasage
- Exception message from command task.ServerStatus.ResultLocations(ServerStatus.Status status, Exception ex, TaskEvent failureEvent, String serverName, String exceptionMeasage)
__locations
command.
Common Exception caught is stored.
status
- Individual server status returned.ex
- Common Exception caught.failureEvent
- Failure cause.serverName
- Target GlassFish server name.exceptionMeasage
- Exception message from command task.ServerStatus.ResultLocations(ServerStatus.Status status, TaskEvent failureEvent, String serverName, String exceptionMeasage)
__locations
command.
No additional value except result is stored.
status
- Individual server status returned.failureEvent
- Failure cause.serverName
- Target GlassFish server name.exceptionMeasage
- Exception message from command task.Copyright © 2013. All Rights Reserved.