
Package ca.uhn.fhir.interceptor.api
Class HookParams
- java.lang.Object
-
- ca.uhn.fhir.interceptor.api.HookParams
-
public class HookParams extends Object
-
-
Constructor Summary
Constructors Constructor Description HookParams()
ConstructorHookParams(Object... theParams)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 instanceString
toString()
Collection<Object>
values()
-
-
-
Constructor Detail
-
HookParams
public HookParams()
Constructor
-
HookParams
public HookParams(Object... theParams)
Constructor
-
-
Method Detail
-
add
public <T> HookParams add(@Nonnull T theNext)
-
add
public <T> HookParams add(Class<T> theType, T theParam)
-
getParamsForType
public 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
-
values
public Collection<Object> values()
-
addIfMatchesType
public <T> HookParams addIfMatchesType(Class<T> theType, Object theParam)
-
-