Package org.libvirt

Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class java.lang.Object