Package org.wildfly.channel
Class VersionResult
- java.lang.Object
-
- org.wildfly.channel.VersionResult
-
public class VersionResult extends Object
The result of version search.
-
-
Constructor Summary
Constructors Constructor Description VersionResult(String version, String channelName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Optional<String>getChannelName()The name of the channel the artifact was found in.StringgetVersion()The discovered artifact version.inthashCode()StringtoString()
-
-
-
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:
Optionalwith the name of the channel providing the version, or an empty Optional if the channel is not named
-
-