Package org.wildfly.channel
Class Channel
- java.lang.Object
-
- org.wildfly.channel.Channel
-
- All Implemented Interfaces:
AutoCloseable
public class Channel extends Object implements AutoCloseable
Java representation of a Channel.
-
-
Constructor Summary
Constructors Constructor Description Channel(String schemaVersion, String name, String description, Vendor vendor, List<ChannelRequirement> channelRequirements, Collection<Stream> streams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Optional<Stream>findStreamFor(String groupId, String artifactId)List<ChannelRequirement>getChannelRequirements()StringgetDescription()StringgetName()StringgetSchemaVersion()Collection<Stream>getStreams()VendorgetVendor()StringtoString()
-
-
-
Constructor Detail
-
Channel
public Channel(String schemaVersion, String name, String description, Vendor vendor, List<ChannelRequirement> channelRequirements, Collection<Stream> streams)
-
-
Method Detail
-
getSchemaVersion
public String getSchemaVersion()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getVendor
public Vendor getVendor()
-
getChannelRequirements
public List<ChannelRequirement> getChannelRequirements()
-
getStreams
public Collection<Stream> getStreams()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-