public class HookParams extends Object
| Constructor and Description |
|---|
HookParams()
Constructor
|
HookParams(Object... theParams)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T> HookParams |
add(Class<T> theType,
T theParam) |
<T> HookParams |
add(T theNext) |
<T> HookParams |
addIfMatchesType(Class<T> theType,
Object theParam) |
<T> T |
get(Class<T> theParamType) |
<T> T |
get(Class<T> theParamType,
int theIndex) |
com.google.common.collect.ListMultimap<Class<?>,Object> |
getParamsForType()
Returns an unmodifiable multimap of the params, where the
key is the param type and the value is the actual instance
|
String |
toString() |
Collection<Object> |
values() |
public HookParams()
public HookParams(Object... theParams)
public <T> HookParams add(@Nonnull T theNext)
public <T> HookParams add(Class<T> theType, T theParam)
public com.google.common.collect.ListMultimap<Class<?>,Object> getParamsForType()
public Collection<Object> values()
public <T> HookParams addIfMatchesType(Class<T> theType, Object theParam)
Copyright © 2014–2019 University Health Network. All rights reserved.