Package org.libvirt
Class SecurityLabel
- java.lang.Object
-
- org.libvirt.SecurityLabel
-
public final class SecurityLabel extends java.lang.Object
Represents a security label used for mandatory access control.- See Also:
Domain.getSecurityLabel()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
Returns the label of this SecurityLabel.boolean
isEnforced()
Returns true if the security policy is being enforced.java.lang.String
toString()
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Returns the label of this SecurityLabel.- Returns:
- the security label string
-
isEnforced
public boolean isEnforced()
Returns true if the security policy is being enforced.- Returns:
- true if the policy is enforced, false otherwise
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-