-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum BatchMigration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM_DATAWhether Bath should automatically attach current installation's data (language/region/customDataAttributes...)to the User's Profile when running the SDK for the first time.
CUSTOM_IDWhether Bath should automatically identify logged-in user when running the SDK V2 for the first time.This mean user with a custom_user_id will be automatically attached a to a Profile and can be targeted within a Project scope.
NONENo migrations disabled
-
Method Summary
Modifier and Type Method Description static EnumSet<BatchMigration>fromValue(int value)Convert integer value in enum set of migrations static inttoValue(@NonNull() EnumSet<BatchMigration> migrations)Convert an EnumSet of migration to an integer value static booleanisCustomIDMigrationDisabled(@Nullable() Integer value)Whether the Custom User ID migration is disabled static booleanisCustomDataMigrationDisabled(@Nullable() Integer value)Whether the Custom Data migration is disabled static Array<BatchMigration>values()static BatchMigrationvalueOf(String name)-
-
Method Detail
-
fromValue
@NonNull() static EnumSet<BatchMigration> fromValue(int value)
Convert integer value in enum set of migrations
- Parameters:
value- The integer value of migrations
-
toValue
static int toValue(@NonNull() EnumSet<BatchMigration> migrations)
Convert an EnumSet of migration to an integer value
- Parameters:
migrations- EnumSet of migrations to convert
-
isCustomIDMigrationDisabled
static boolean isCustomIDMigrationDisabled(@Nullable() Integer value)
Whether the Custom User ID migration is disabled
- Parameters:
value- migrations value
-
isCustomDataMigrationDisabled
static boolean isCustomDataMigrationDisabled(@Nullable() Integer value)
Whether the Custom Data migration is disabled
- Parameters:
value- migrations value
-
values
static Array<BatchMigration> values()
-
valueOf
static BatchMigration valueOf(String name)
-
-
-
-