Class SearchBackendSupport
java.lang.Object
org.apache.maven.search.api.support.SearchBackendSupport
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SearchBackend
,SearchEngine
- Direct Known Subclasses:
IndexerCoreSearchBackendImpl
,RemoteRepositorySearchBackendImpl
,SmoSearchBackendImpl
A search backend support class.
-
Constructor Summary
ModifierConstructorDescriptionprotected
SearchBackendSupport
(String backendId, String repositoryId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Returns the ID of this backend, nevernull
.Returns the repository ID that this backend searches for, nevernull
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.search.api.SearchEngine
search
-
Constructor Details
-
SearchBackendSupport
-
-
Method Details
-
getBackendId
Description copied from interface:SearchBackend
Returns the ID of this backend, nevernull
.- Specified by:
getBackendId
in interfaceSearchBackend
-
getRepositoryId
Description copied from interface:SearchBackend
Returns the repository ID that this backend searches for, nevernull
.- Specified by:
getRepositoryId
in interfaceSearchBackend
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-