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 Summary
Modifier and TypeMethodDescriptiondescription(String description) Sets thedescriptionelementReturns thedescriptionelementReturns thesecurity-permission-specelementRemoves thedescriptionelementRemoves thesecurity-permission-specelementsecurityPermissionSpec(String securityPermissionSpec) Sets thesecurity-permission-specelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
securityPermissionSpec
Sets thesecurity-permission-specelement- Parameters:
securityPermissionSpec- the value for the elementsecurity-permission-spec- Returns:
- the current instance of
SecurityPermission
-
getSecurityPermissionSpec
String getSecurityPermissionSpec()Returns thesecurity-permission-specelement- Returns:
- the node defined for the element
security-permission-spec
-
removeSecurityPermissionSpec
SecurityPermission<T> removeSecurityPermissionSpec()Removes thesecurity-permission-specelement- Returns:
- the current instance of
SecurityPermission
-
description
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
SecurityPermission
-
getDescription
String getDescription()Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
SecurityPermission<T> removeDescription()Removes thedescriptionelement- Returns:
- the current instance of
SecurityPermission
-