public interface SearchStrategyFactory
SearchStrategy
for a given Application
and its associated active
directories
SearchStrategy
Modifier and Type | Method and Description |
---|---|
Optional<SearchStrategy> |
createSearchStrategy(Application application,
List<Directory> activeDirectories)
|
Optional<SearchStrategy> createSearchStrategy(Application application, List<Directory> activeDirectories)
SearchStrategy
for the specified application
and
associated activeDirectories
.
If the factory cannot create a SearchStrategy
for the specified application or directory configuration
Optional.empty()
should be returned
application
- the applicationactiveDirectories
- the collection of active directories associated with the applicationSearchStrategy
for the application and directories or Optional.empty()
Copyright © 2017 Atlassian. All rights reserved.