public class JolokiaAssert extends org.assertj.core.api.AbstractAssert<JolokiaAssert,org.jolokia.client.J4pClient>
| Constructor and Description |
|---|
JolokiaAssert(org.jolokia.client.J4pClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.assertj.core.api.ObjectAssert<?> |
attribute(String mbean,
String attribute)
Performs an assertion on the value of an Attribute on an MBean
|
<T> org.assertj.core.api.ObjectAssert<T> |
attribute(String mbean,
String attribute,
Class<T> clazz)
Performs an assertion on the value of an Attribute of a given Class on an MBean
|
Object |
attributeValue(String mbean,
String attribute)
Returns the attribute value of the given mbean and attribute name
|
org.assertj.core.api.BigDecimalAssert |
bigDecimalAttribute(String mbean,
String attribute)
Performs an assertion on the
BigDecimal value of an Attribute on an MBean |
org.assertj.core.api.BigDecimalAssert |
bigDecimalOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
BigDecimal result
so that assertions can be performed on the resulting BigDecimalAssert |
org.assertj.core.api.BooleanAssert |
booleanAttribute(String mbean,
String attribute)
Performs an assertion on the
Boolean value of an Attribute on an MBean |
org.assertj.core.api.BooleanAssert |
booleanOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Boolean result
so that assertions can be performed on the resulting BooleanAssert |
org.assertj.core.api.ByteAssert |
byteAttribute(String mbean,
String attribute)
Performs an assertion on the
Byte value of an Attribute on an MBean |
org.assertj.core.api.ByteAssert |
byteOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Byte result
so that assertions can be performed on the resulting ByteAssert |
org.assertj.core.api.CharacterAssert |
characterAttribute(String mbean,
String attribute)
Performs an assertion on the
Character value of an Attribute on an MBean |
org.assertj.core.api.CharacterAssert |
characterOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Character result
so that assertions can be performed on the resulting CharacterAssert |
org.assertj.core.api.DateAssert |
dateAttribute(String mbean,
String attribute)
Performs an assertion on the
Date value of an Attribute on an MBean |
org.assertj.core.api.DateAssert |
dateOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Date result
so that assertions can be performed on the resulting DateAssert |
org.assertj.core.api.DoubleAssert |
doubleAttribute(String mbean,
String attribute)
Performs an assertion on the
Double value of an Attribute on an MBean |
org.assertj.core.api.DoubleAssert |
doubleOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Double result
so that assertions can be performed on the resulting DoubleAssert |
org.assertj.core.api.FloatAssert |
floatAttribute(String mbean,
String attribute)
Performs an assertion on the
Float value of an Attribute on an MBean |
org.assertj.core.api.FloatAssert |
floatOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Float result
so that assertions can be performed on the resulting FloatAssert |
org.assertj.core.api.IntegerAssert |
integerAttribute(String mbean,
String attribute)
Performs an assertion on the
Integer value of an Attribute on an MBean |
org.assertj.core.api.IntegerAssert |
integerOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Integer result
so that assertions can be performed on the resulting IntegerAssert |
JSONArrayAssert |
jsonArrayAttribute(String mbean,
String attribute)
Performs an assertion on the
JSONArray value of an Attribute on an MBean |
JSONArrayAssert |
jsonArrayOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
JSONArray result
so that assertions can be performed on the resulting JSONArrayAssert |
JSONObjectAssert |
jsonObjectAttribute(String mbean,
String attribute)
Performs an assertion on the
JSONObject value of an Attribute on an MBean |
JSONObjectAssert |
jsonObjectOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
JSONObject result
so that assertions can be performed on the resulting JSONObjectAssert |
org.assertj.core.api.ListAssert |
listAttribute(String mbean,
String attribute)
Performs an assertion on the
List value of an Attribute on an MBean |
org.assertj.core.api.ListAssert |
listOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
List result
so that assertions can be performed on the resulting ListAssert |
org.assertj.core.api.LongAssert |
longAttribute(String mbean,
String attribute)
Performs an assertion on the
Long value of an Attribute on an MBean |
org.assertj.core.api.LongAssert |
longOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Long result
so that assertions can be performed on the resulting LongAssert |
org.assertj.core.api.MapAssert |
mapAttribute(String mbean,
String attribute)
Performs an assertion on the
Map value of an Attribute on an MBean |
org.assertj.core.api.MapAssert |
mapOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Map result
so that assertions can be performed on the resulting MapAssert |
org.assertj.core.api.ObjectAssert<?> |
operation(String mbean,
String operation,
Object... arguments)
Performs an assertion on the value of an Attribute on an MBean
|
protected Object |
operationResult(String mbean,
String operation,
Object... arguments) |
org.assertj.core.api.ShortAssert |
shortAttribute(String mbean,
String attribute)
Performs an assertion on the
Short value of an Attribute on an MBean |
org.assertj.core.api.ShortAssert |
shortOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
Short result
so that assertions can be performed on the resulting ShortAssert |
org.assertj.core.api.StringAssert |
stringAttribute(String mbean,
String attribute)
Performs an assertion on the
String value of an Attribute on an MBean |
org.assertj.core.api.StringAssert |
stringOperation(String mbean,
String operation,
Object... arguments)
Performs the given operation name and arguments on the mbean and asserts that there is a non null
String result
so that assertions can be performed on the resulting StringAssert |
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator, withFailMessage, withThreadDumpOnErrorpublic <T> org.assertj.core.api.ObjectAssert<T> attribute(String mbean, String attribute, Class<T> clazz) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
MalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ObjectAssert<?> attribute(String mbean, String attribute) throws org.jolokia.client.exception.J4pException, MalformedObjectNameException
org.jolokia.client.exception.J4pExceptionMalformedObjectNameExceptionpublic org.assertj.core.api.BigDecimalAssert bigDecimalAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
BigDecimal value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.BooleanAssert booleanAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Boolean value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ByteAssert byteAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Byte value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.CharacterAssert characterAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Character value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.DateAssert dateAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Date value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.DoubleAssert doubleAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Double value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.FloatAssert floatAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Float value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.IntegerAssert integerAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Integer value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic JSONArrayAssert jsonArrayAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
JSONArray value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic JSONObjectAssert jsonObjectAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
JSONObject value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ListAssert listAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
List value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.LongAssert longAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Long value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.MapAssert mapAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Map value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ShortAssert shortAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Short value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.StringAssert stringAttribute(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
String value of an Attribute on an MBeanMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic Object attributeValue(String mbean, String attribute) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
MalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.BigDecimalAssert bigDecimalOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
BigDecimal result
so that assertions can be performed on the resulting BigDecimalAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.BooleanAssert booleanOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Boolean result
so that assertions can be performed on the resulting BooleanAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ByteAssert byteOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Byte result
so that assertions can be performed on the resulting ByteAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.CharacterAssert characterOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Character result
so that assertions can be performed on the resulting CharacterAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.DateAssert dateOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Date result
so that assertions can be performed on the resulting DateAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.DoubleAssert doubleOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Double result
so that assertions can be performed on the resulting DoubleAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.FloatAssert floatOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Float result
so that assertions can be performed on the resulting FloatAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.IntegerAssert integerOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Integer result
so that assertions can be performed on the resulting IntegerAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic JSONArrayAssert jsonArrayOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
JSONArray result
so that assertions can be performed on the resulting JSONArrayAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic JSONObjectAssert jsonObjectOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
JSONObject result
so that assertions can be performed on the resulting JSONObjectAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ListAssert listOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
List result
so that assertions can be performed on the resulting ListAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.LongAssert longOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Long result
so that assertions can be performed on the resulting LongAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.MapAssert mapOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Map result
so that assertions can be performed on the resulting MapAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ShortAssert shortOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
Short result
so that assertions can be performed on the resulting ShortAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.StringAssert stringOperation(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
String result
so that assertions can be performed on the resulting StringAssertMalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionpublic org.assertj.core.api.ObjectAssert<?> operation(String mbean, String operation, Object... arguments) throws org.jolokia.client.exception.J4pException, MalformedObjectNameException
org.jolokia.client.exception.J4pExceptionMalformedObjectNameExceptionprotected Object operationResult(String mbean, String operation, Object... arguments) throws MalformedObjectNameException, org.jolokia.client.exception.J4pException
MalformedObjectNameExceptionorg.jolokia.client.exception.J4pExceptionCopyright © 2011–2017 Red Hat. All rights reserved.