Package io.objectbox.sync
Enum SyncCredentials.CredentialsType
- java.lang.Object
-
- java.lang.Enum<SyncCredentials.CredentialsType>
-
- io.objectbox.sync.SyncCredentials.CredentialsType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SyncCredentials.CredentialsType>
- Enclosing class:
- SyncCredentials
public static enum SyncCredentials.CredentialsType extends java.lang.Enum<SyncCredentials.CredentialsType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOOGLE
NONE
OBX_ADMIN_USER
SHARED_SECRET_SIPPED
USER_PASSWORD
-
Field Summary
Fields Modifier and Type Field Description long
id
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncCredentials.CredentialsType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SyncCredentials.CredentialsType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SyncCredentials.CredentialsType NONE
-
GOOGLE
public static final SyncCredentials.CredentialsType GOOGLE
-
SHARED_SECRET_SIPPED
public static final SyncCredentials.CredentialsType SHARED_SECRET_SIPPED
-
OBX_ADMIN_USER
public static final SyncCredentials.CredentialsType OBX_ADMIN_USER
-
USER_PASSWORD
public static final SyncCredentials.CredentialsType USER_PASSWORD
-
-
Method Detail
-
values
public static SyncCredentials.CredentialsType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SyncCredentials.CredentialsType c : SyncCredentials.CredentialsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncCredentials.CredentialsType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-