Constructor and Description |
---|
SelectorFactory(UnconfiguredBuildTargetViewFactory unconfiguredBuildTargetViewFactory) |
Modifier and Type | Method and Description |
---|---|
Selector<Object> |
createSelector(CellNameResolver cellNameResolver,
ForwardRelativePath pathRelativeToProjectRoot,
Map<String,?> rawAttributes)
Creates a new Selector using the default error message when no conditions match.
|
Selector<Object> |
createSelector(CellNameResolver cellNameResolver,
ForwardRelativePath pathRelativeToProjectRoot,
Map<String,?> rawAttributes,
String noMatchMessage)
Creates a
Selector by converting a given map. |
public SelectorFactory(UnconfiguredBuildTargetViewFactory unconfiguredBuildTargetViewFactory)
public Selector<Object> createSelector(CellNameResolver cellNameResolver, ForwardRelativePath pathRelativeToProjectRoot, Map<String,?> rawAttributes)
public Selector<Object> createSelector(CellNameResolver cellNameResolver, ForwardRelativePath pathRelativeToProjectRoot, Map<String,?> rawAttributes, String noMatchMessage)
Selector
by converting a given map.rawAttributes
- a map with attributes represented in a format produced by build file
parsers (i.e. non-coerced.)