public static enum JkDockerBuild.NonRootMode extends java.lang.Enum<JkDockerBuild.NonRootMode>
Enum Constant and Description |
---|
ALWAYS
Always create a nonroot user
|
AUTO
Creates a nonroot user if it cannot be determined whether the base image already includes one.
|
NEVER
Never create a nonroot user
|
Modifier and Type | Method and Description |
---|---|
static JkDockerBuild.NonRootMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JkDockerBuild.NonRootMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JkDockerBuild.NonRootMode ALWAYS
public static final JkDockerBuild.NonRootMode NEVER
public static final JkDockerBuild.NonRootMode AUTO
public static JkDockerBuild.NonRootMode[] values()
for (JkDockerBuild.NonRootMode c : JkDockerBuild.NonRootMode.values()) System.out.println(c);
public static JkDockerBuild.NonRootMode 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