public static enum AuditSupport.AuditMode extends Enum<AuditSupport.AuditMode>
COMPLETE
- Record the message payload, headers and properties all
PAYLOAD_ONLY
- Record the message payload, but not headers nor properties
HEADERS_ONLY
- Record the message headers, but not payload not properties
PROPERTIES_ONLY
- Record the message properties, but not payload nor headers
PAYLOAD_AND_HEADERS
- Record the message payload and headers, but not properties
PAYLOAD_AND_PROPERTIES
- Record the message payload and properties, but not headers
HEADERS_AND_PROPERTIES
- Record the message headers and properties, but not payloadEnum Constant and Description |
---|
COMPLETE |
HEADERS_AND_PROPERTIES |
HEADERS_ONLY |
PAYLOAD_AND_HEADERS |
PAYLOAD_AND_PROPERTIES |
PAYLOAD_ONLY |
PROPERTIES_ONLY |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
shouldAuditHeaders()
Whether headers are recorded
|
abstract boolean |
shouldAuditPayload()
Whether payload is recorded
|
abstract boolean |
shouldAuditProperties()
Whether properties are recorded
|
static AuditSupport.AuditMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuditSupport.AuditMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditSupport.AuditMode COMPLETE
public static final AuditSupport.AuditMode PAYLOAD_ONLY
public static final AuditSupport.AuditMode HEADERS_ONLY
public static final AuditSupport.AuditMode PROPERTIES_ONLY
public static final AuditSupport.AuditMode PAYLOAD_AND_HEADERS
public static final AuditSupport.AuditMode PAYLOAD_AND_PROPERTIES
public static final AuditSupport.AuditMode HEADERS_AND_PROPERTIES
public static AuditSupport.AuditMode[] values()
for (AuditSupport.AuditMode c : AuditSupport.AuditMode.values()) System.out.println(c);
public static AuditSupport.AuditMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean shouldAuditHeaders()
public abstract boolean shouldAuditPayload()
public abstract boolean shouldAuditProperties()
Copyright © 2010–2016 AdroitLogic. All rights reserved.