public class ThrowingSelectorListResolver extends Object implements SelectorListResolver
Constructor and Description |
---|
ThrowingSelectorListResolver() |
Modifier and Type | Method and Description |
---|---|
<T> T |
resolveList(SelectableConfigurationContext configurationContext,
BuildTarget buildTarget,
String attributeName,
SelectorList<T> selectorList,
Concatable<T> concatable,
DependencyStack dependencyStack)
Throw unconditionally
|
@Nullable public <T> T resolveList(SelectableConfigurationContext configurationContext, BuildTarget buildTarget, String attributeName, SelectorList<T> selectorList, Concatable<T> concatable, DependencyStack dependencyStack)
resolveList
in interface SelectorListResolver
T
- the type of elements stored in the provided selectable listbuildTarget
- the build target that contains the given list in its argumentsattributeName
- the name of the attribute that holds the given selector listselectorList
- a list with selectable elementsconcatable
- to be used when concatenating select items (e. g. lists or strings)dependencyStack
- used to provide error stacksnull
if the list is resolved to an absent element