BackupActionValues


public static class BackupActionValues


Values that the keys in BackupActionInputKeys and BackupActionOutputKeys accept or produce.

Keys whose value is a boolean are not listed here: they are parsed with String.toBoolean, so "true" in any casing means true and everything else, including an absent key, means false.

Summary

Constants

static final @NonNull String

BackupActionInputKeys.PREF_NAME used when the key is absent.

static final @NonNull String

BackupActionOutputKeys.STATUS value reported when the action could not complete its work.

static final @NonNull String

BackupActionOutputKeys.STATUS value reported when the action completed its work.

static final @NonNull String

BackupActionInputKeys.STORAGE_TYPE value selecting SQLite database storage.

static final @NonNull String

BackupActionInputKeys.STORAGE_TYPE value selecting raw file storage.

static final @NonNull String

BackupActionInputKeys.STORAGE_TYPE value selecting android.content.SharedPreferences storage.

static final @NonNull String

BackupActionInputKeys.VALUE_TYPE value storing the value with putBoolean.

static final @NonNull String

BackupActionInputKeys.VALUE_TYPE value storing the value with putFloat.

static final @NonNull String

BackupActionInputKeys.VALUE_TYPE value storing the value with putInt.

static final @NonNull String

BackupActionInputKeys.VALUE_TYPE value storing the value with putLong.

static final @NonNull String

BackupActionInputKeys.VALUE_TYPE value storing the value with putString.

Public fields

static @NonNull BackupActionValues

Constants

DEFAULT_PREF_NAME

Added in 1.0.0-alpha02
public static final @NonNull String DEFAULT_PREF_NAME

BackupActionInputKeys.PREF_NAME used when the key is absent.

STATUS_FAILURE

Added in 1.0.0-alpha02
public static final @NonNull String STATUS_FAILURE

BackupActionOutputKeys.STATUS value reported when the action could not complete its work.

STATUS_SUCCESS

Added in 1.0.0-alpha02
public static final @NonNull String STATUS_SUCCESS

BackupActionOutputKeys.STATUS value reported when the action completed its work.

STORAGE_TYPE_DATABASE

Added in 1.0.0-alpha02
public static final @NonNull String STORAGE_TYPE_DATABASE

BackupActionInputKeys.STORAGE_TYPE value selecting SQLite database storage.

STORAGE_TYPE_FILES

Added in 1.0.0-alpha02
public static final @NonNull String STORAGE_TYPE_FILES

BackupActionInputKeys.STORAGE_TYPE value selecting raw file storage.

STORAGE_TYPE_PREFS

Added in 1.0.0-alpha02
public static final @NonNull String STORAGE_TYPE_PREFS

BackupActionInputKeys.STORAGE_TYPE value selecting android.content.SharedPreferences storage. This is the default when the key is absent.

VALUE_TYPE_BOOLEAN

Added in 1.0.0-alpha02
public static final @NonNull String VALUE_TYPE_BOOLEAN

BackupActionInputKeys.VALUE_TYPE value storing the value with putBoolean.

VALUE_TYPE_FLOAT

Added in 1.0.0-alpha02
public static final @NonNull String VALUE_TYPE_FLOAT

BackupActionInputKeys.VALUE_TYPE value storing the value with putFloat.

VALUE_TYPE_INT

Added in 1.0.0-alpha02
public static final @NonNull String VALUE_TYPE_INT

BackupActionInputKeys.VALUE_TYPE value storing the value with putInt.

VALUE_TYPE_LONG

Added in 1.0.0-alpha02
public static final @NonNull String VALUE_TYPE_LONG

BackupActionInputKeys.VALUE_TYPE value storing the value with putLong.

VALUE_TYPE_STRING

Added in 1.0.0-alpha02
public static final @NonNull String VALUE_TYPE_STRING

BackupActionInputKeys.VALUE_TYPE value storing the value with putString. This is the default when the key is absent.

Public fields

INSTANCE

Added in 1.0.0-alpha02
public static @NonNull BackupActionValues INSTANCE