Package org.libvirt
Class SecurityLabel
- java.lang.Object
-
- org.libvirt.SecurityLabel
-
public final class SecurityLabel extends java.lang.ObjectRepresents 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.StringgetLabel()Returns the label of this SecurityLabel.booleanisEnforced()Returns true if the security policy is being enforced.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-