public class ArrayEventContext extends AbstractEventContext
EventContext
.Constructor and Description |
---|
ArrayEventContext(TypeCoercer typeCoercer,
Object... values) |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> desiredType,
int index)
Extracts a parameter value and coerces or decodes it to the desired type.
|
int |
getCount()
Returns the number of parameter values that can be extracted.
|
toString, toStrings
public ArrayEventContext(TypeCoercer typeCoercer, Object... values)
public <T> T get(Class<T> desiredType, int index)
EventContext
desiredType
- the type of value requiredindex
- identifies which parameter value to extractpublic int getCount()
EventContext
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.