public static enum ViPRConstants.FileAccessMode extends java.lang.Enum<ViPRConstants.FileAccessMode>
Enum Constant and Description |
---|
disabled |
readOnly |
readWrite |
switchingToDisabled |
switchingToReadOnly |
switchingToReadWrite |
Modifier and Type | Method and Description |
---|---|
boolean |
isTransitionState() |
boolean |
transitionsToTarget(ViPRConstants.FileAccessMode targetState) |
static ViPRConstants.FileAccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViPRConstants.FileAccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViPRConstants.FileAccessMode disabled
public static final ViPRConstants.FileAccessMode readOnly
public static final ViPRConstants.FileAccessMode readWrite
public static final ViPRConstants.FileAccessMode switchingToDisabled
public static final ViPRConstants.FileAccessMode switchingToReadOnly
public static final ViPRConstants.FileAccessMode switchingToReadWrite
public static ViPRConstants.FileAccessMode[] values()
for (ViPRConstants.FileAccessMode c : ViPRConstants.FileAccessMode.values()) System.out.println(c);
public static ViPRConstants.FileAccessMode 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 boolean isTransitionState()
public boolean transitionsToTarget(ViPRConstants.FileAccessMode targetState)