public enum VersionUpdateResult extends Enum<VersionUpdateResult>
Represents the result of an index version update operation.
Enum Constant and Description |
---|
AlreadyUpToDate
Index version is already up-to-date.
|
Unsupported
Index version is not supported or directory does not contain valid index data.
|
Updated
Index version updated.
|
Modifier and Type | Method and Description |
---|---|
static VersionUpdateResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionUpdateResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionUpdateResult Updated
Index version updated.
public static final VersionUpdateResult AlreadyUpToDate
Index version is already up-to-date.
public static final VersionUpdateResult Unsupported
Index version is not supported or directory does not contain valid index data.
public static VersionUpdateResult[] values()
for (VersionUpdateResult c : VersionUpdateResult.values()) System.out.println(c);
public static VersionUpdateResult 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 null