public class ContextPropertyRegistryImpl extends Object implements ContextPropertyRegistry
Modifier and Type | Field and Description |
---|---|
static ContextPropertyRegistry |
EMPTY_REGISTRY |
CONTEXT_PREFIX
Constructor and Description |
---|
ContextPropertyRegistryImpl(EventType contextEventType) |
ContextPropertyRegistryImpl(List<ContextDetailPartitionItem> partitionProperties,
EventType contextEventType) |
Modifier and Type | Method and Description |
---|---|
EventType |
getContextEventType() |
String |
getPartitionContextPropertyName(EventType fromType,
String propertyName) |
boolean |
isContextPropertyPrefix(String prefixName) |
boolean |
isPartitionProperty(EventType fromType,
String propertyName) |
public static final ContextPropertyRegistry EMPTY_REGISTRY
public ContextPropertyRegistryImpl(List<ContextDetailPartitionItem> partitionProperties, EventType contextEventType)
public ContextPropertyRegistryImpl(EventType contextEventType)
public boolean isPartitionProperty(EventType fromType, String propertyName)
isPartitionProperty
in interface ContextPropertyRegistry
public String getPartitionContextPropertyName(EventType fromType, String propertyName)
getPartitionContextPropertyName
in interface ContextPropertyRegistry
public boolean isContextPropertyPrefix(String prefixName)
isContextPropertyPrefix
in interface ContextPropertyRegistry
public EventType getContextEventType()
getContextEventType
in interface ContextPropertyRegistry