@Experimental public static final class ChartRepository.Index.Entry extends Object implements Comparable<ChartRepository.Index.Entry>
public final int compareTo(ChartRepository.Index.Entry her)
ChartRepository.Index.Entry to the supplied ChartRepository.Index.Entry and
returns a value less than 0 if this ChartRepository.Index.Entry is
"less than" the supplied ChartRepository.Index.Entry, 1 if this
ChartRepository.Index.Entry is "greater than" the supplied ChartRepository.Index.Entry
and 0 if this ChartRepository.Index.Entry is equal to the supplied
ChartRepository.Index.Entry.
ChartRepository.Index.Entry objects are compared by name first, then version.
It is intended that this compareTo(ChartRepository.Index.Entry) method is
consistent with equals.
compareTo in interface Comparable<ChartRepository.Index.Entry>her - the ChartRepository.Index.Entry to compare; must not be null0 if this ChartRepository.Index.Entry is
"less than" the supplied ChartRepository.Index.Entry, 1 if this
ChartRepository.Index.Entry is "greater than" the supplied ChartRepository.Index.Entry
and 0 if this ChartRepository.Index.Entry is equal to the supplied
ChartRepository.Index.EntryNullPointerException - if the supplied ChartRepository.Index.Entry
is nullpublic final int hashCode()
hashCode in class ObjectChartRepository.Index.EntrycompareTo(ChartRepository.Index.Entry),
equals(Object),
getName(),
getVersion()public final boolean equals(Object other)
true if the supplied Object is an
ChartRepository.Index.Entry and has a name and
version equal to those of this
ChartRepository.Index.Entry.equals in class Objectother - the Object to test; may be null
in which case false will be returnedtrue if this ChartRepository.Index.Entry is equal to the
supplied Object; false otherwisecompareTo(ChartRepository.Index.Entry),
getName(),
getVersion(),
hashCode()public final MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder()
MetadataOuterClass.MetadataOrBuilder that comprises most of
the contents of this ChartRepository.Index.Entry.
This method never returns null.
MetadataOuterClass.MetadataOrBuilder that comprises most of
the contents of this ChartRepository.Index.Entry; never nullpublic final String getName()
MetadataOuterClass.MetadataOrBuilder.getName() method on the MetadataOuterClass.MetadataOrBuilder returned by this ChartRepository.Index.Entry's getMetadataOrBuilder() method.
This method may return null.
ChartRepository.Index.Entry's name, or nullMetadataOuterClass.MetadataOrBuilder.getName()public final String getVersion()
MetadataOuterClass.MetadataOrBuilder.getVersion() method on the MetadataOuterClass.MetadataOrBuilder returned by this ChartRepository.Index.Entry's getMetadataOrBuilder() method.
This method may return null.
ChartRepository.Index.Entry's version, or nullMetadataOuterClass.MetadataOrBuilder.getVersion()public final Set<URI> getUris()
null, immutable Set of
URIs representing the URIs from which the Helm chart
described by this ChartRepository.Index.Entry may be downloaded.
This method never returns null.
null, immutable Set of
URIs representing the URIs from which the Helm chart
described by this ChartRepository.Index.Entry may be downloadedgetFirstUri()public final URI getFirstUri()
public final String getDigest()
String form, associated with this ChartRepository.Index.Entry.
This method may return null.
String form, associated with this ChartRepository.Index.Entry, or
nullpublic final String toString()
toString in class Objectnull String representation of
this ChartRepository.Index.Entry@Experimental public static final @Experimental String getDigest(InputStream inputStream) throws IOException
InputStream and returns the result of
hexadecimal-encoding it.
This method never returns null.
inputStream - the InputStream to read from; must
not be nullnullNullPointerException - if inputStream is
nullIOException - if an input or output error occursCopyright © 2017–2018, microBean. All rights reserved.