Package org.wildfly.channel
Class ChannelManifest
- java.lang.Object
-
- org.wildfly.channel.ChannelManifest
-
public class ChannelManifest extends Object
Java representation of a Channel Manifest.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASSIFIERstatic StringEXTENSION
-
Constructor Summary
Constructors Constructor Description ChannelManifest(String schemaVersion, String name, String id, String description, Collection<ManifestRequirement> manifestRequirements, Collection<Stream> streams)Representation of a Channel resourceChannelManifest(String name, String id, String description, Collection<ManifestRequirement> manifestRequirements, Collection<Stream> streams)Representation of a ChannelManifest resource using the current schema version.ChannelManifest(String name, String id, String description, Collection<Stream> streams)Representation of a ChannelManifest resource using the current schema version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Stream>findStreamFor(String groupId, String artifactId)StringgetDescription()StringgetId()List<ManifestRequirement>getManifestRequirements()StringgetName()StringgetSchemaVersion()Collection<Stream>getStreams()
-
-
-
Field Detail
-
CLASSIFIER
public static final String CLASSIFIER
- See Also:
- Constant Field Values
-
EXTENSION
public static final String EXTENSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChannelManifest
public ChannelManifest(String name, String id, String description, Collection<Stream> streams)
Representation of a ChannelManifest resource using the current schema version.
-
ChannelManifest
public ChannelManifest(String name, String id, String description, Collection<ManifestRequirement> manifestRequirements, Collection<Stream> streams)
Representation of a ChannelManifest resource using the current schema version.
-
ChannelManifest
public ChannelManifest(String schemaVersion, String name, String id, String description, Collection<ManifestRequirement> manifestRequirements, Collection<Stream> streams)
Representation of a Channel resource- Parameters:
schemaVersion- the version of the schema to validate this manifest resource - requiredname- the name of the manifest - can benulldescription- the description of the manifest - can benullstreams- the streams defined by the manifest - can benull
-
-
Method Detail
-
getSchemaVersion
public String getSchemaVersion()
-
getName
public String getName()
-
getId
public String getId()
-
getDescription
public String getDescription()
-
getManifestRequirements
public List<ManifestRequirement> getManifestRequirements()
-
getStreams
public Collection<Stream> getStreams()
-
-