Class CustomJsonListSetting<X>
java.lang.Object
gg.xp.xivsupport.persistence.settings.ObservableSetting
gg.xp.xivsupport.persistence.settings.CustomJsonListSetting<X>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static <X> CustomJsonListSetting.Builder<X>
builder
(@NotNull PersistenceProvider pers, @NotNull com.fasterxml.jackson.core.type.TypeReference<X> type, @NotNull String settingKey, @NotNull String failuresKey) void
commit()
void
getItems()
boolean
removeItem
(X item) void
void
Methods inherited from class gg.xp.xivsupport.persistence.settings.ObservableSetting
addAndRunListener, addListener, notifyListeners, removeListener
-
Method Details
-
commit
public void commit() -
getItems
-
setItems
-
addItem
-
removeItem
-
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)
-