summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/dev/RepoPatternConfig.java
blob: 49390201f0626b5a8dc2b7f294eb836919eda213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package at.hannibal2.skyhanni.config.features.dev;

import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import io.github.notenoughupdates.moulconfig.observer.Property;

public class RepoPatternConfig {
    @Expose
    @ConfigOption(name = "Force Local Loading", desc = "Force loading local patterns.")
    @ConfigEditorBoolean
    public Property<Boolean> forceLocal = Property.of(false);

    @Expose
    @ConfigOption(name = "Tolerate Duplicate Usages", desc = "Don't crash when two or more code locations use the same RepoPattern key")
    @ConfigEditorBoolean
    public boolean tolerateDuplicateUsage = false;

    @Expose
    @ConfigOption(name = "Tolerate Late Registration", desc = "Don't crash when a RepoPattern is obtained after preinitialization.")
    @ConfigEditorBoolean
    public boolean tolerateLateRegistration = false;
}