Enum Class UserIdSource
public enum UserIdSource
extends Enum<UserIdSource>
java.lang.Object ← java.lang.Enum<UserIdSource> ← io.justtrack.UserIdSource
All Implemented Interfaces
Serializable
, Comparable<UserIdSource>
, Constable
Enum.EnumDesc<E extends Enum<E>>
Enum Constants
JustTrack
public static final UserIdSource JustTrack
NoUserId
public static final UserIdSource NoUserId
Methods
valueOf
public static UserIdSource valueOf(String name)
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
Parameters
Name | Description |
---|---|
name | the name of the enum constant to be returned. |
Returns
the enum constant with the specified name
Throws
Name | Description |
---|---|
IllegalArgumentException | if this enum class has no constant with the specified name |
NullPointerException | if the argument is null |
values
public static UserIdSource[] values()
Returns an array containing the constants of this enum class, in the order they are declared.
Returns
an array containing the constants of this enum class, in the order they are declared