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