Package org.apache.solr.packagemanager
Class SolrPackage
- java.lang.Object
-
- org.apache.solr.packagemanager.SolrPackage
-
- All Implemented Interfaces:
Comparable<SolrPackage>
,org.apache.solr.common.MapSerializable
,org.apache.solr.common.MapWriter
,org.apache.solr.common.NavigableObject
,org.apache.solr.common.util.ReflectMapWriter
,org.noggit.JSONWriter.Writable
public class SolrPackage extends Object implements Comparable<SolrPackage>, org.apache.solr.common.util.ReflectMapWriter
Describes a package (along with all released versions) as it appears in a repository.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SolrPackage.Artifact
static class
SolrPackage.Command
static class
SolrPackage.Manifest
static class
SolrPackage.Plugin
static class
SolrPackage.SolrPackageRelease
-
Field Summary
Fields Modifier and Type Field Description String
description
String
name
List<SolrPackage.SolrPackageRelease>
versions
-
Constructor Summary
Constructors Constructor Description SolrPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SolrPackage o)
String
getRepository()
void
setRepository(String repository)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
name
public String name
-
description
public String description
-
versions
public List<SolrPackage.SolrPackageRelease> versions
-
-
Method Detail
-
compareTo
public int compareTo(SolrPackage o)
- Specified by:
compareTo
in interfaceComparable<SolrPackage>
-
getRepository
public String getRepository()
-
setRepository
public void setRepository(String repository)
-
-