|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AppProperty>
sjrd.tricktakinggame.server.AppProperty
public enum AppProperty
Une propriété de l'application
Enum Constant Summary | |
---|---|
AdminPasswordHash
|
|
ConsoleLogLevel
|
|
LogFileAppend
|
|
LogFileCount
|
|
LogFileLevel
|
|
LogFileLimit
|
|
LogFileName
|
|
LoginChecker
|
|
LoginFileName
|
|
LoginFileReloadOnChange
|
|
RulesDirectory
|
Field Summary | |
---|---|
private String |
defaultValue
Valeur par défaut |
private String |
name
Nom |
Method Summary | |
---|---|
String |
getDefaultValue()
Valeur par défaut de la propriété |
String |
getName()
Nom de la propriété |
static AppProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AppProperty[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AppProperty ConsoleLogLevel
public static final AppProperty LogFileName
public static final AppProperty LogFileLimit
public static final AppProperty LogFileCount
public static final AppProperty LogFileAppend
public static final AppProperty LogFileLevel
public static final AppProperty RulesDirectory
public static final AppProperty LoginChecker
public static final AppProperty LoginFileName
public static final AppProperty LoginFileReloadOnChange
public static final AppProperty AdminPasswordHash
Field Detail |
---|
private String name
private String defaultValue
Method Detail |
---|
public static AppProperty[] values()
for (AppProperty c : AppProperty.values()) System.out.println(c);
public static AppProperty valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getName()
getName
in interface ApplicationProperty
public String getDefaultValue()
getDefaultValue
in interface ApplicationProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |