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> HookParamsadd(Class<T> theType, T theParam)<T> HookParamsadd(T theNext)<T> HookParamsaddIfMatchesType(Class<T> theType, Object theParam)<T> Tget(Class<T> theParamType)<T> Tget(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 instanceStringtoString()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)
-
-