Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing parameters to build a ChannelManifest #302

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions core/src/main/java/org/wildfly/channel/ChannelManifest.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,17 @@ public static class Builder {
private String schemaVersion;
private String name;
private String id;
private String logicalVersion;
private String description;
private List<Stream> streams;
private List<ManifestRequirement> manifestRequirements;

public ChannelManifest build() {
return new ChannelManifest(
schemaVersion,
name,
id,
logicalVersion,
description,
manifestRequirements,
streams);
Expand All @@ -256,6 +259,10 @@ public Builder setId(String id) {
return this;
}

public void setLogicalVersion(String logicalVersion) {
this.logicalVersion = logicalVersion;
}

public Builder setDescription(String description) {
this.description = description;
return this;
Expand Down
Loading