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 EventContextpublic <T> T get(Class<T> desiredType, int index)
get in interface EventContextdesiredType - the type of value requiredindex - identifies which parameter value to extractpublic String[] toStrings()
EventContexttoStrings in interface EventContext5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.