java.io.Serializable
, java.lang.Comparable<IndexModule.Type>
public static enum IndexModule.Type extends java.lang.Enum<IndexModule.Type>
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getSettingsKey() |
|
boolean |
match(java.lang.String setting) |
Returns true iff this settings matches the type.
|
static IndexModule.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static IndexModule.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexModule.Type NIOFS
public static final IndexModule.Type MMAPFS
public static final IndexModule.Type SIMPLEFS
public static final IndexModule.Type FS
public static IndexModule.Type[] values()
for (IndexModule.Type c : IndexModule.Type.values()) System.out.println(c);
public static IndexModule.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSettingsKey()
public boolean match(java.lang.String setting)