@Deprecated public enum PersistenceMode extends Enum<PersistenceMode>
Enum Constant and Description |
---|
DATABASE
Deprecated.
|
FULL
Deprecated.
|
MEMORY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
useDatabase()
Deprecated.
|
boolean |
useMemory()
Deprecated.
|
static PersistenceMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PersistenceMode[] |
values()
Deprecated.
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–2017 SonarSource. All rights reserved.