Interface SecurityPermission<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
SecurityPermissionImpl

public interface SecurityPermission<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the security-permission xsd type
  • Method Details

    • securityPermissionSpec

      SecurityPermission<T> securityPermissionSpec(String securityPermissionSpec)
      Sets the security-permission-spec element
      Parameters:
      securityPermissionSpec - the value for the element security-permission-spec
      Returns:
      the current instance of SecurityPermission
    • getSecurityPermissionSpec

      String getSecurityPermissionSpec()
      Returns the security-permission-spec element
      Returns:
      the node defined for the element security-permission-spec
    • removeSecurityPermissionSpec

      SecurityPermission<T> removeSecurityPermissionSpec()
      Removes the security-permission-spec element
      Returns:
      the current instance of SecurityPermission
    • description

      SecurityPermission<T> description(String description)
      Sets the description element
      Parameters:
      description - the value for the element description
      Returns:
      the current instance of SecurityPermission
    • getDescription

      String getDescription()
      Returns the description element
      Returns:
      the node defined for the element description
    • removeDescription

      SecurityPermission<T> removeDescription()
      Removes the description element
      Returns:
      the current instance of SecurityPermission