Package org.libvirt

Class SecurityLabel

java.lang.Object
org.libvirt.SecurityLabel

public final class SecurityLabel extends Object
Represents a security label used for mandatory access control.
See Also:
  • Method Details

    • getLabel

      public 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 String toString()
      Overrides:
      toString in class Object