public class TideComponentMatcherFactory extends Object
| Constructor and Description |
|---|
TideComponentMatcherFactory() |
| Modifier and Type | Method and Description |
|---|---|
TideComponentMatcher |
getAnnotatedWithMatcher(String type,
boolean disabled) |
TideComponentMatcher |
getInstanceOfMatcher(String type,
boolean disabled) |
TideComponentMatcher |
getNameMatcher(String name,
boolean disabled) |
TideComponentMatcher |
getTypeMatcher(String type,
boolean disabled) |
static boolean |
isComponentTideDisabled(Map<String,Object[]> tideComponentsByName,
List<TideComponentMatcher> tideComponentMatchers,
String componentName,
Set<Class<?>> componentClasses,
Object componentInstance) |
static boolean |
isComponentTideEnabled(Map<String,Object[]> tideComponentsByName,
List<TideComponentMatcher> tideComponentMatchers,
String componentName,
Set<Class<?>> componentClasses,
Object componentInstance) |
public TideComponentMatcherFactory()
public TideComponentMatcher getTypeMatcher(String type, boolean disabled) throws GraniteConfigException
GraniteConfigExceptionpublic TideComponentMatcher getNameMatcher(String name, boolean disabled) throws GraniteConfigException
GraniteConfigExceptionpublic TideComponentMatcher getInstanceOfMatcher(String type, boolean disabled) throws GraniteConfigException
GraniteConfigExceptionpublic TideComponentMatcher getAnnotatedWithMatcher(String type, boolean disabled) throws GraniteConfigException
GraniteConfigExceptionpublic static boolean isComponentTideEnabled(Map<String,Object[]> tideComponentsByName, List<TideComponentMatcher> tideComponentMatchers, String componentName, Set<Class<?>> componentClasses, Object componentInstance) throws GraniteConfigException
GraniteConfigExceptionpublic static boolean isComponentTideDisabled(Map<String,Object[]> tideComponentsByName, List<TideComponentMatcher> tideComponentMatchers, String componentName, Set<Class<?>> componentClasses, Object componentInstance) throws GraniteConfigException
GraniteConfigException