Package org.ctan.site.domain.mirrors
Class Mirrors
java.lang.Object
org.ctan.site.domain.mirrors.Mirrors
- All Implemented Interfaces:
Searchable
This domain class represents a CTAN mirror site.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe methodindexPathprovides means to retrieve the URL under which the entity is indexed.toString()voidupdateIndex(IndexingSession session) The methodupdateIndexprovides means to update the entity in the search index.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ctan.site.services.search.base.Searchable
getId
-
Constructor Details
-
Mirrors
public Mirrors()
-
-
Method Details
-
indexPath
The methodindexPathprovides means to retrieve the URL under which the entity is indexed.- Specified by:
indexPathin interfaceSearchable- Returns:
- the URL
- See Also:
-
toString
-
updateIndex
public void updateIndex(IndexingSession session) throws org.apache.lucene.index.CorruptIndexException, IOException The methodupdateIndexprovides means to update the entity in the search index.- Specified by:
updateIndexin interfaceSearchable- Parameters:
session- the session- Throws:
org.apache.lucene.index.CorruptIndexException- in case of an errorIOException- in case of an I/O error- See Also:
-