Resclone/src/main/java/io/gitlab/jfronny/resclone/data/PackMetaUnloaded.java

21 lines
689 B
Java
Raw Normal View History

2020-12-29 16:14:53 +01:00
package io.gitlab.jfronny.resclone.data;
// Represents a pack as present in the config
// Can't be a record since it'll need to be parsed by Gson
@SuppressWarnings("ClassCanBeRecord")
2020-12-29 16:14:53 +01:00
public class PackMetaUnloaded {
public final String fetcher;
public final String source;
public final String name;
public final boolean forceDownload;
public final boolean forceEnable;
2020-12-29 16:14:53 +01:00
public PackMetaUnloaded(String fetcher, String source, String name, boolean forceDownload, boolean forceEnable) {
2020-12-29 16:14:53 +01:00
this.fetcher = fetcher;
this.source = source;
this.name = name;
this.forceDownload = forceDownload;
this.forceEnable = forceEnable;
2020-12-29 16:14:53 +01:00
}
}