|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ApplicationConfig.OptionDef
Le contrat de marquage des options, on utilise cette interface pour caracteriser une option de configuration.
| Method Summary | |
|---|---|
String |
getDefaultValue()
|
String |
getDescription()
|
String |
getKey()
|
Class<?> |
getType()
|
boolean |
isFinal()
|
boolean |
isTransient()
|
void |
setDefaultValue(String defaultValue)
Changes the default value of the option. |
void |
setFinal(boolean isFinal)
Changes the final state of the option. |
void |
setTransient(boolean isTransient)
Changes the transient state of the option. |
| Method Detail |
|---|
String getKey()
Class<?> getType()
String getDescription()
String getDefaultValue()
boolean isTransient()
true si l'option ne peut etre sauvegardee sur
disque (utile par exemple pour les mots de passe, ...)boolean isFinal()
true si l'option n'est pas modifiable (utilise
par exemple pour la version de l'application, ...)void setDefaultValue(String defaultValue)
defaultValue - the new default value of the optionvoid setTransient(boolean isTransient)
isTransient - the new value of the transient statevoid setFinal(boolean isFinal)
isFinal - the new transient state value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||