public enum SELContext extends Enum<SELContext>
shared
- can be used by all containers, private
- by only this containerhttp://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/
Enum Constant and Description |
---|
none
no selinux
|
shared
z option
|
single
Z option
|
Modifier and Type | Field and Description |
---|---|
static SELContext |
DEFAULT
The default
SELContext : none |
Modifier and Type | Method and Description |
---|---|
static SELContext |
fromString(String p) |
String |
toString() |
static SELContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SELContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SELContext none
public static final SELContext shared
public static final SELContext single
public static final SELContext DEFAULT
SELContext
: none
public static SELContext[] values()
for (SELContext c : SELContext.values()) System.out.println(c);
public static SELContext 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 nullpublic String toString()
toString
in class Enum<SELContext>
public static SELContext fromString(String p)
Copyright © 2021. All rights reserved.