public class DebugWsDelegate extends Object
| Constructor and Description |
|---|
DebugWsDelegate(com.sun.jersey.api.client.WebResource resource)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
checkMessagingConnectionForTheDm(String message)
Checks the DM is correctly connected with the messaging server.
|
String |
checkMessagingConnectionWithAgent(String applicationName,
String scopedInstancePath,
String message)
Checks the DM can correctly exchange with an agent through the messaging server.
|
List<net.roboconf.dm.rest.commons.Diagnostic> |
diagnoseApplication(String applicationName)
Runs a diagnostic for a given application.
|
net.roboconf.dm.rest.commons.Diagnostic |
diagnoseInstance(String applicationName,
String instancePath)
Runs a diagnostic for a given instance.
|
public DebugWsDelegate(com.sun.jersey.api.client.WebResource resource)
resource - a web resourcepublic String checkMessagingConnectionForTheDm(String message) throws DebugWsException
message - a customized message contentDebugWsExceptionpublic String checkMessagingConnectionWithAgent(String applicationName, String scopedInstancePath, String message) throws DebugWsException
applicationName - the name of the application holding the targeted agentscopedInstancePath - the identifier of the targeted agentmessage - a customized message contentDebugWsExceptionpublic net.roboconf.dm.rest.commons.Diagnostic diagnoseInstance(String applicationName, String instancePath) throws DebugWsException
DebugWsExceptionCopyright © 2017. All rights reserved.