Package org.apache.solr.pkg
Class SolrPackageLoader.SolrPackage
- java.lang.Object
-
- org.apache.solr.pkg.SolrPackageLoader.SolrPackage
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- SolrPackageLoader
public class SolrPackageLoader.SolrPackage extends Object implements Closeable
represents a package definition in the packages.json
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SolrPackageLoader.SolrPackage.Version
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
allVersions()
void
close()
SolrPackageLoader.SolrPackage.Version
getLatest()
SolrPackageLoader.SolrPackage.Version
getLatest(String lessThan)
SolrPackageLoader.SolrPackage.Version
getVersion(String version)
boolean
isDeleted()
String
name()
-
-
-
Method Detail
-
isDeleted
public boolean isDeleted()
-
getLatest
public SolrPackageLoader.SolrPackage.Version getLatest()
-
getVersion
public SolrPackageLoader.SolrPackage.Version getVersion(String version)
-
getLatest
public SolrPackageLoader.SolrPackage.Version getLatest(String lessThan)
-
name
public String name()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-