public class ProcessorConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static ProcessorConfig |
EMPTY |
| Constructor and Description |
|---|
ProcessorConfig() |
ProcessorConfig(List<String> includes,
Set<String> excludes,
Map<String,TreeMap> config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfig(String name,
String key) |
<T extends Named> |
order(List<T> namedList,
String type)
Order elements according to the order provided by the include statements.
|
boolean |
use(String name)
Check whether the given name is to be used according to the includes and excludes
given.
|
public static final ProcessorConfig EMPTY
public boolean use(String name)
name - the name to checkpublic <T extends Named> List<T> order(List<T> namedList, String type)
T - the concrete typenamedList - the list to ordertype - a description used in an error message (like 'generator' or 'enricher')IllegalArgumentException - if the includes reference an non existing elementCopyright © 2016. All rights reserved.