Interface RunAsType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
RunAsTypeImpl
public interface RunAsType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
run-asType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns therole-nameelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves therole-nameelementSets therole-nameelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
RunAsType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Returns:
- the current instance of
RunAsType
-
roleName
Sets therole-nameelement- Parameters:
roleName- the value for the elementrole-name- Returns:
- the current instance of
RunAsType
-
getRoleName
String getRoleName()Returns therole-nameelement- Returns:
- the node defined for the element
role-name
-
removeRoleName
Removes therole-nameelement- Returns:
- the current instance of
RunAsType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
RunAsType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Returns:
- the current instance of
RunAsType
-