public class BootMultiLocalResourcesSelector extends java.lang.Object implements MultiLocalResourcesSelector
MultiLocalResourcesSelector
.LocalResourcesSelector.Entry
Constructor and Description |
---|
BootMultiLocalResourcesSelector(LocalResourcesSelector selector,
java.util.Map<java.lang.String,LocalResourcesSelector> selectors)
Instantiates a new boot multi local resources selector.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<LocalResourcesSelector.Entry> |
select(java.lang.String dir)
Select a
List of LocalResourcesSelector.Entry s. |
java.util.List<LocalResourcesSelector.Entry> |
select(java.lang.String id,
java.lang.String dir)
Select a
List of LocalResourcesSelector.Entry s identified by
an arbitrary id. |
public BootMultiLocalResourcesSelector(LocalResourcesSelector selector, java.util.Map<java.lang.String,LocalResourcesSelector> selectors)
selector
- the default selectorselectors
- the custom selectorspublic java.util.List<LocalResourcesSelector.Entry> select(java.lang.String dir)
LocalResourcesSelector
select
in interface LocalResourcesSelector
dir
- the base directorypublic java.util.List<LocalResourcesSelector.Entry> select(java.lang.String id, java.lang.String dir)
MultiLocalResourcesSelector
List
of LocalResourcesSelector.Entry
s identified by
an arbitrary id.select
in interface MultiLocalResourcesSelector
id
- the identifierdir
- the base directoryLocalResourcesSelector.select(String)