X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FSoneOptions.java;h=4abf16f9228061d4bfa3e0917d495efdcfd0e4ee;hp=819e94a1ae8ea6c2492c2a5ac73f411e2aac6f37;hb=18a45f362d69085b12fe3028e9320578e10cc968;hpb=e7dffc33d7632aeeb41eeeef53f0170b34dd0137 diff --git a/src/main/java/net/pterodactylus/sone/data/SoneOptions.java b/src/main/java/net/pterodactylus/sone/data/SoneOptions.java index 819e94a..4abf16f 100644 --- a/src/main/java/net/pterodactylus/sone/data/SoneOptions.java +++ b/src/main/java/net/pterodactylus/sone/data/SoneOptions.java @@ -1,8 +1,6 @@ package net.pterodactylus.sone.data; -import static net.pterodactylus.sone.data.Sone.ShowCustomAvatars.NEVER; - -import net.pterodactylus.sone.data.Sone.ShowCustomAvatars; +import static net.pterodactylus.sone.data.SoneOptions.ShowCustomAvatars.NEVER; /** * All Sone-specific options. @@ -30,6 +28,30 @@ public interface SoneOptions { void setShowCustomAvatars(ShowCustomAvatars showCustomAvatars); /** + * The possible values for the “show custom avatars” option. + * + * @author David ‘Bombe’ Roden + */ + enum ShowCustomAvatars { + + /** Never show custom avatars. */ + NEVER, + + /** Only show custom avatars of followed Sones. */ + FOLLOWED, + + /** Only show custom avatars of Sones you manually trust. */ + MANUALLY_TRUSTED, + + /** Only show custom avatars of automatically trusted Sones. */ + TRUSTED, + + /** Always show custom avatars. */ + ALWAYS, + + } + + /** * {@link SoneOptions} implementation. * * @author David ‘Bombe’ Roden