Skip to content

Commit

Permalink
Add config comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Apr 18, 2024
1 parent f360f9a commit 2e805e4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public CurseRemoteMod(
@JsonProperty(value = "options") Map<String, Object> options,
@JsonProperty(value = "folder") String folder,
@JsonProperty(value = "inject") Boolean inject,
@JsonProperty(value = "fileName") String fileName
@JsonProperty(value = "fileName") String fileName,
@JsonProperty(value = "comment") String comment
) {
super(metadata, installationPolicy, options, folder, inject);
this.addonId = addonId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public ModifyMod(
@JsonProperty(value = "disable") boolean disable,
@JsonProperty(value = "delete") boolean delete,
@JsonProperty(value = "newFolder") String newFolder,
@JsonProperty(value = "newFileName") String newFileName
@JsonProperty(value = "newFileName") String newFileName,
@JsonProperty(value = "comment") String comment
) {
this.fileName = fileName;
this.folder = folder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public class RemoteConfig

@JsonCreator
public RemoteConfig(
@JsonProperty(value = "url", required = true) URL url
@JsonProperty(value = "url", required = true) URL url,
@JsonProperty(value = "comment") String comment
) {
this.url = url;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public UrlRemoteMod(
@JsonProperty(value = "installationPolicy") InstallationPolicy installationPolicy,
@JsonProperty(value = "options") Map<String, Object> options,
@JsonProperty(value = "folder") String folder,
@JsonProperty(value = "inject") Boolean inject
@JsonProperty(value = "inject") Boolean inject,
@JsonProperty(value = "comment") String comment
) {
super(metadata, installationPolicy, options, folder, inject);
this.fileName = fileName;
Expand Down

0 comments on commit 2e805e4

Please sign in to comment.