public enum PersistenceMode extends Enum<PersistenceMode>
Modifier and Type | Method and Description |
---|---|
boolean |
useDatabase() |
boolean |
useMemory() |
static PersistenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceMode MEMORY
public static final PersistenceMode DATABASE
public static final PersistenceMode FULL
public static PersistenceMode[] values()
for (PersistenceMode c : PersistenceMode.values()) System.out.println(c);
public static PersistenceMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean useMemory()
public boolean useDatabase()
Copyright © 2009-2014 SonarSource. All Rights Reserved.