Class VersionResult


  • public class VersionResult
    extends Object
    The result of version search.
    • Constructor Detail

      • VersionResult

        public VersionResult​(String version,
                             String channelName)
    • Method Detail

      • getVersion

        public String getVersion()
        The discovered artifact version.
        Returns:
      • getChannelName

        public Optional<String> getChannelName()
        The name of the channel the artifact was found in.
        Returns:
        Optional with the name of the channel providing the version, or an empty Optional if the channel is not named
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object