public static enum SetPermissions.NonPosixMode extends java.lang.Enum<SetPermissions.NonPosixMode>
Enum Constant and Description |
---|
fail
Fail the build.
|
pass
Log an error and go on.
|
tryDosOrFail
Try DosFilePermissions - setting the read-only flag - and
fail the build if that fails as well.
|
tryDosOrPass
Try DosFilePermissions - setting the read-only flag - and
log an error and go on if that fails as well.
|
Modifier and Type | Method and Description |
---|---|
static SetPermissions.NonPosixMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SetPermissions.NonPosixMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetPermissions.NonPosixMode fail
public static final SetPermissions.NonPosixMode pass
public static final SetPermissions.NonPosixMode tryDosOrFail
public static final SetPermissions.NonPosixMode tryDosOrPass
public static SetPermissions.NonPosixMode[] values()
for (SetPermissions.NonPosixMode c : SetPermissions.NonPosixMode.values()) System.out.println(c);
public static SetPermissions.NonPosixMode 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 null