public final class BeanHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
getValidParameterType(String value)
Determines and maps the given value is valid according to the supported
values by the bean component.
|
static Boolean |
isAssignableToExpectedType(ClassResolver resolver,
String parameterType,
Class<?> expectedType)
Determines if the given parameter type is assignable to the expected type.
|
static boolean |
isValidParameterValue(String value)
Determines if the given value is valid according to the supported
values by the bean component.
|
public static Class<?> getValidParameterType(String value)
value - the valuepublic static boolean isValidParameterValue(String value)
value - the valuepublic static Boolean isAssignableToExpectedType(ClassResolver resolver, String parameterType, Class<?> expectedType)
resolver - the class resolverparameterType - the parameter type as a String, can be a FQN or a simple name of the classexpectedType - the expected typeApache Camel