|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PersistSettings.Option> com.vodafone360.people.service.PersistSettings.Option
public static enum PersistSettings.Option
Definition of a set of options handled by PersistSettings. These options are; Internet availability (always available, only in home network or manually activated) First time contact sync status. First time native contact sync status.
Enum Constant Summary | |
---|---|
FIRST_TIME_MESYNC_COMPLETE
|
|
FIRST_TIME_MESYNC_STARTED
|
|
FIRST_TIME_NATIVE_SYNC_COMPLETE
|
|
FIRST_TIME_SYNC_COMPLETE
|
|
FIRST_TIME_SYNC_STARTED
|
|
INTERNETAVAIL
|
Field Summary | |
---|---|
private java.lang.Object |
mDefaultValue
|
private java.lang.String |
mFieldName
|
private PersistSettings.OptionType |
mType
|
Method Summary | |
---|---|
java.lang.Object |
defaultValue()
Return the default value for current setting. |
PersistSettings.OptionType |
getType()
Return the type of current option (i.e. |
private static PersistSettings.Option |
lookupValue(java.lang.String key)
Search for settings item by name. |
java.lang.String |
tableFieldName()
Option's State table record name |
java.lang.String |
toString()
|
static PersistSettings.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PersistSettings.Option[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PersistSettings.Option INTERNETAVAIL
public static final PersistSettings.Option FIRST_TIME_SYNC_STARTED
public static final PersistSettings.Option FIRST_TIME_MESYNC_STARTED
public static final PersistSettings.Option FIRST_TIME_SYNC_COMPLETE
public static final PersistSettings.Option FIRST_TIME_MESYNC_COMPLETE
public static final PersistSettings.Option FIRST_TIME_NATIVE_SYNC_COMPLETE
Field Detail |
---|
private java.lang.String mFieldName
private java.lang.Object mDefaultValue
private PersistSettings.OptionType mType
Method Detail |
---|
public static PersistSettings.Option[] values()
for (PersistSettings.Option c : PersistSettings.Option.values()) System.out.println(c);
public static PersistSettings.Option valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.Object defaultValue()
public PersistSettings.OptionType getType()
public java.lang.String toString()
toString
in class java.lang.Enum<PersistSettings.Option>
private static PersistSettings.Option lookupValue(java.lang.String key)
key
- Option name to search for.
public java.lang.String tableFieldName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
JavaDoc