Class SearchBackendSupport
java.lang.Object
org.apache.maven.search.api.support.SearchBackendSupport
- All Implemented Interfaces:
Closeable,AutoCloseable,SearchBackend,SearchEngine
A search backend support class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSearchBackendSupport(String backendId, String repositoryId) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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, waitMethods inherited from interface org.apache.maven.search.api.SearchEngine
search
-
Field Details
-
backendId
-
repositoryId
-
-
Constructor Details
-
SearchBackendSupport
-
-
Method Details
-
getBackendId
Description copied from interface:SearchBackendReturns the ID of this backend, nevernull.- Specified by:
getBackendIdin interfaceSearchBackend
-
getRepositoryId
Description copied from interface:SearchBackendReturns the repository ID that this backend searches for, nevernull.- Specified by:
getRepositoryIdin interfaceSearchBackend
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-