public class AuditEventsJmxEndpoint extends AbstractJmxEndpoint
Constructor and Description |
---|
AuditEventsJmxEndpoint(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
AuditEventRepository auditEventRepository) |
Modifier and Type | Method and Description |
---|---|
Object |
getData(String dateAfter) |
Object |
getData(String dateAfter,
String principal) |
Object |
getData(String principal,
String dateAfter,
String type) |
convert, getEndpointType, getEnvironment, getIdentity, isEnabled, setEnabled, setEnvironment
public AuditEventsJmxEndpoint(com.fasterxml.jackson.databind.ObjectMapper objectMapper, AuditEventRepository auditEventRepository)
@ManagedOperation(description="Retrieves a list of audit events meeting the given criteria") public Object getData(String dateAfter)
@ManagedOperation(description="Retrieves a list of audit events meeting the given criteria") public Object getData(String dateAfter, String principal)
@ManagedOperation(description="Retrieves a list of audit events meeting the given criteria") public Object getData(String principal, String dateAfter, String type)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.