public class EmptyEventContext extends Object implements EventContext
Constructor and Description |
---|
EmptyEventContext() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> desiredType,
int index)
This should never be called because the count is always zero.
|
int |
getCount()
Always returns zero.
|
String[] |
toStrings()
Extracts the value of each context value as a string.
|
public EmptyEventContext()
public int getCount()
getCount
in interface EventContext
public <T> T get(Class<T> desiredType, int index)
get
in interface EventContext
desiredType
- the type of value requiredindex
- identifies which parameter value to extractpublic String[] toStrings()
EventContext
toStrings
in interface EventContext
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.