Package io.fabric8.maven.docker.config
Enum AssemblyConfiguration.PermissionMode
- java.lang.Object
-
- java.lang.Enum<AssemblyConfiguration.PermissionMode>
-
- io.fabric8.maven.docker.config.AssemblyConfiguration.PermissionMode
-
- All Implemented Interfaces:
Serializable,Comparable<AssemblyConfiguration.PermissionMode>
- Enclosing class:
- AssemblyConfiguration
public static enum AssemblyConfiguration.PermissionMode extends Enum<AssemblyConfiguration.PermissionMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AssemblyConfiguration.PermissionModevalueOf(String name)Returns the enum constant of this type with the specified name.static AssemblyConfiguration.PermissionMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
auto
public static final AssemblyConfiguration.PermissionMode auto
Auto detect permission mode
-
exec
public static final AssemblyConfiguration.PermissionMode exec
Make everything executable
-
keep
public static final AssemblyConfiguration.PermissionMode keep
Leave all as it is
-
ignore
public static final AssemblyConfiguration.PermissionMode ignore
Ignore permission when using an assembly mode of "dir"
-
-
Method Detail
-
values
public static AssemblyConfiguration.PermissionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AssemblyConfiguration.PermissionMode c : AssemblyConfiguration.PermissionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssemblyConfiguration.PermissionMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-