public class Helpers extends Object
| Constructor and Description |
|---|
Helpers() |
| Modifier and Type | Method and Description |
|---|---|
static org.jolokia.client.request.J4pExecRequest |
createCustomExecRequest(String mbeanUrl,
String operation,
Object... args) |
static org.jolokia.client.request.J4pReadRequest |
createCustomReadRequest(String mbeanUrl,
String attribute) |
static org.jolokia.client.request.J4pExecRequest |
createExecRequest(String operation,
Object... args) |
static org.jolokia.client.request.J4pReadRequest |
createReadRequest(String attribute) |
static org.jolokia.client.request.J4pWriteRequest |
createWriteRequest(String attribute,
Object value) |
static void |
doContainerAction(org.jolokia.client.J4pClient j4p,
String action,
String id) |
static <T> T |
exec(org.jolokia.client.J4pClient j4p,
String operation,
Object... args) |
static String |
execCustomToJSON(org.jolokia.client.J4pClient j4p,
String mbeanUrl,
String operation,
Object... args) |
static String |
execToJSON(org.jolokia.client.J4pClient j4p,
String operation,
Object... args)
executes an operation and returns the json result value
|
static List<String> |
extractIds(io.fabric8.api.HasId[] things) |
static List<String> |
extractIds(List<io.fabric8.api.HasId> things) |
static <T> T |
getFieldValue(org.jolokia.client.J4pClient j4p,
String operation,
String id,
String field) |
static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
static <T> T |
read(org.jolokia.client.J4pClient j4p,
String attribute) |
static String |
readCustomToJSON(org.jolokia.client.J4pClient j4p,
String mbeanUrl,
String attribute) |
static String |
readToJSON(org.jolokia.client.J4pClient j4p,
String attribute) |
static List<Object> |
toList(Object... args) |
static <T> T |
write(org.jolokia.client.J4pClient j4p,
String attribute,
Object value) |
public static org.jolokia.client.request.J4pExecRequest createExecRequest(String operation, Object... args) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic static org.jolokia.client.request.J4pExecRequest createCustomExecRequest(String mbeanUrl, String operation, Object... args) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic static org.jolokia.client.request.J4pWriteRequest createWriteRequest(String attribute, Object value) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic static org.jolokia.client.request.J4pReadRequest createReadRequest(String attribute) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic static org.jolokia.client.request.J4pReadRequest createCustomReadRequest(String mbeanUrl, String attribute) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic static void doContainerAction(org.jolokia.client.J4pClient j4p,
String action,
String id)
public static <T> T getFieldValue(org.jolokia.client.J4pClient j4p,
String operation,
String id,
String field)
public static String execToJSON(org.jolokia.client.J4pClient j4p, String operation, Object... args)
j4p - operation - args - public static String execCustomToJSON(org.jolokia.client.J4pClient j4p, String mbeanUrl, String operation, Object... args)
public static String readCustomToJSON(org.jolokia.client.J4pClient j4p, String mbeanUrl, String attribute)
public static <T> T read(org.jolokia.client.J4pClient j4p,
String attribute)
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2011–2014 Red Hat. All rights reserved.