|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.pgvagent.core.preferences.PreferenceManager
public class PreferenceManager
The PreferenceManager is used to store and retrieve preferences.
| Field Summary | |
|---|---|
static java.lang.String |
P_AUTOMATIC_UPDATE
Preference name for whether automatic update is enabled or not. |
static java.lang.String |
P_ENABLE_BY_DEFAULT
Preference name for whether new PGV sites should be enabled or not. |
| Constructor Summary | |
|---|---|
PreferenceManager()
|
|
| Method Summary | |
|---|---|
static boolean |
getAutomaticUpdate()
Returns whether or not automatic update is enabled. |
static boolean |
getDefaultAutomaticUpdate()
Returns whether or not automatic update should be enabled by default. |
static boolean |
getDefaultEnableByDefault()
Returns whether new PGV websites should be enabled or not by default. |
static boolean |
getEnableByDefault()
Returns whether new PGV websites should be enabled or not. |
static void |
setAutomaticUpdate(boolean bAutomaticUpdate)
Sets whether or not automatic update is enabled. |
static void |
setEnableByDefault(boolean bEnableByDefault)
Sets whether or not new PGV websites should be enabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String P_AUTOMATIC_UPDATE
public static final java.lang.String P_ENABLE_BY_DEFAULT
| Constructor Detail |
|---|
public PreferenceManager()
| Method Detail |
|---|
public static boolean getDefaultAutomaticUpdate()
public static boolean getAutomaticUpdate()
public static void setAutomaticUpdate(boolean bAutomaticUpdate)
bAutomaticUpdate - enabled or notpublic static boolean getDefaultEnableByDefault()
public static boolean getEnableByDefault()
public static void setEnableByDefault(boolean bEnableByDefault)
bEnableByDefault - enablement default
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||