@NotStorableClass public enum EnumFileState extends Enum<EnumFileState>
Enum Constant and Description |
---|
STATE_CORRUPTED
STATE_CORRUPTED: file content is corrupted
|
STATE_IO_ERROR
has IO error
|
STATE_OK
STATE_OK: state of file seems good
|
STATE_RESTORED_DATA_LOST
STATE_RESTORED_DATA_LOST: data restored from backup, data lost
|
STATE_RESTORED_NO_DATA_LOST
STATE_RESTORED_NO_DATA_LOST: data restored from backup, no data lost
|
STATE_UNSTABLE
STATE_UNSTABLE:files are not in stable state, file should exist, need
some files maintenance
|
Modifier and Type | Method and Description |
---|---|
static EnumFileState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumFileState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFileState STATE_OK
public static final EnumFileState STATE_RESTORED_NO_DATA_LOST
public static final EnumFileState STATE_RESTORED_DATA_LOST
public static final EnumFileState STATE_CORRUPTED
public static final EnumFileState STATE_UNSTABLE
public static final EnumFileState STATE_IO_ERROR
public static EnumFileState[] values()
for (EnumFileState c : EnumFileState.values()) System.out.println(c);
public static EnumFileState 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 nullCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.