Package org.apache.solr.pkg
Class PackageLoader.Package.Version
- java.lang.Object
-
- org.apache.solr.pkg.PackageLoader.Package.Version
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,MapSerializable
,MapWriter
,NavigableObject
- Enclosing class:
- PackageLoader.Package
public class PackageLoader.Package.Version extends Object implements MapWriter, Closeable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Collection<String>
getFiles()
SolrResourceLoader
getLoader()
PackageAPI.PkgVersion
getPkgVersion()
String
getVersion()
String
toString()
void
writeMap(MapWriter.EntryWriter ew)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
-
-
-
Method Detail
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMap
in interfaceMapWriter
- Throws:
IOException
-
getVersion
public String getVersion()
-
getPkgVersion
public PackageAPI.PkgVersion getPkgVersion()
-
getFiles
public Collection<String> getFiles()
-
getLoader
public SolrResourceLoader getLoader()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-