public enum IlrPersistenceType extends java.lang.Enum<IlrPersistenceType>
| Enum Constant and Description |
|---|
DATASOURCE
Datasource based persistence.
|
FILE
File system based persistence.
|
JDBC
JDBC based persistence.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the string representation of this persistence type.
|
static IlrPersistenceType |
parse(java.lang.String name)
Parses a string representation of a persistence type.
|
java.lang.String |
toString() |
static IlrPersistenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IlrPersistenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IlrPersistenceType FILE
public static final IlrPersistenceType JDBC
public static final IlrPersistenceType DATASOURCE
public static IlrPersistenceType[] values()
public static IlrPersistenceType valueOf(java.lang.String name)
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullname - the name of the enum constant to be returned.public java.lang.String toString()
toString in class java.lang.Enum<IlrPersistenceType>public java.lang.String getName()
parse(String).public static IlrPersistenceType parse(java.lang.String name)
getName().ilog.rules.res.session.internal.IlrIllegalPersistenceTypeExceptionjava.lang.IllegalArgumentException - in case no IlrPersistenceType value
correspond to the given namename - the name to be parsedIlrPersistenceType value corresponding to name© Copyright IBM Corp. 1987, 2017