Class CustomJsonListSetting<X>

java.lang.Object
gg.xp.xivsupport.persistence.settings.ObservableSetting
gg.xp.xivsupport.persistence.settings.CustomJsonListSetting<X>

public class CustomJsonListSetting<X> extends ObservableSetting
  • Method Details

    • commit

      public void commit()
    • getItems

      public List<X> getItems()
    • setItems

      public void setItems(List<X> items)
    • addItem

      public void addItem(X item)
    • removeItem

      public boolean removeItem(X item)
    • getFailedItems

      public List<String> getFailedItems()
    • deleteFailedItems

      public void deleteFailedItems()
    • tryRecoverFailures

      public void tryRecoverFailures()
    • builder

      public static <X> CustomJsonListSetting.Builder<X> builder(@NotNull @NotNull PersistenceProvider pers, @NotNull @NotNull com.fasterxml.jackson.core.type.TypeReference<X> type, @NotNull @NotNull String settingKey, @NotNull @NotNull String failuresKey)