Package org.wildfly.channel
Class Stream
- java.lang.Object
-
- org.wildfly.channel.Stream
-
- All Implemented Interfaces:
Comparable<Stream>
public class Stream extends Object implements Comparable<Stream>
Java representation of a Stream.
-
-
Constructor Summary
Constructors Constructor Description Stream(String groupId, String artifactId, String version)Stream(String groupId, String artifactId, String version, Pattern versionPattern)Representation of a stream resourceStream(String groupId, String artifactId, Pattern versionPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Stream other)booleanequals(Object o)StringgetArtifactId()StringgetGroupId()StringgetVersion()VersionMatchergetVersionComparator()PatterngetVersionPattern()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
Stream
public Stream(String groupId, String artifactId, String version)
- See Also:
Stream(String, String, String, Pattern)
-
Stream
public Stream(String groupId, String artifactId, Pattern versionPattern)
- See Also:
Stream(String, String, String, Pattern)
-
Stream
public Stream(String groupId, String artifactId, String version, Pattern versionPattern)
Representation of a stream resource- Parameters:
groupId- groupId of the Maven coordinate - requiredartifactId- artifactId of the Maven coordinate - requiredversion- version of the Maven coordinate - can benullversionPattern- version patter to determine the latest version of the resource - can benullEitherversionorversionPatternmust be defined.
-
-
Method Detail
-
getGroupId
public String getGroupId()
-
getArtifactId
public String getArtifactId()
-
getVersion
public String getVersion()
-
getVersionPattern
public Pattern getVersionPattern()
-
getVersionComparator
public VersionMatcher getVersionComparator()
-
compareTo
public int compareTo(Stream other)
- Specified by:
compareToin interfaceComparable<Stream>
-
-