| Package | Description |
|---|---|
| management | |
| management.jmx | |
| management.jmx.validation | |
| management.operations.ops.jmx |
| Modifier and Type | Method and Description |
|---|---|
static Expectation |
Expectations.forMBean(ObjectName mbean) |
| Modifier and Type | Method and Description |
|---|---|
Expectation |
Expectation.expectAttribute(String attribute,
Object value) |
Expectation |
Expectation.expectMBeanAt(String url) |
Expectation |
Expectation.expectNotification(String notificationType,
Object source,
String message,
int matchCount,
int mode) |
Expectation |
Expectation.expectNotification(String notificationType,
Object source,
String message,
Object userData,
int mode)
Make sure you add notification to expectation in order expected so that
validation happens in correct order.
|
Expectation |
Expectation.expectOperation(String operationName,
Object result) |
| Modifier and Type | Method and Description |
|---|---|
List<Expectation> |
JMXBlackboard.getExpectedState() |
| Modifier and Type | Method and Description |
|---|---|
void |
JMXBlackboard.addExpectation(Expectation ex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JMXValidator.validateAttributes(Expectation expectation,
List<ValidationResult> list,
MBeanServerConnection remoteMBS) |
void |
JMXValidator.validateNotifications(Expectation expectation,
List<ValidationResult> list,
List<JMXNotification> recordedNotificationList) |
void |
JMXValidator.validateOperations(Expectation expectation,
List<ValidationResult> list,
List<JMXOperation> recordedOpList) |
| Constructor and Description |
|---|
JMXValidator(JMXEventRecorder recorder,
List<Expectation> expectedEvents) |
| Modifier and Type | Field and Description |
|---|---|
List<Expectation> |
AbstractTestMBean.InPlaceJMXNotifValidator.expectationList |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.