Interface RequiredConfigPropertyType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
RequiredConfigPropertyTypeImpl
public interface RequiredConfigPropertyType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
required-config-propertyType xsd type-
Method Summary
Modifier and TypeMethodDescriptionconfigPropertyName(String configPropertyName) Sets theconfig-property-nameelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsReturns theconfig-property-nameelementgetId()Returns theidattributeSets theidattributeRemoves thedescriptionelementRemoves theconfig-property-nameelementremoveId()Removes theidattributeMethods 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
RequiredConfigPropertyType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
RequiredConfigPropertyType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
RequiredConfigPropertyType
-
configPropertyName
Sets theconfig-property-nameelement- Parameters:
configPropertyName- the value for the elementconfig-property-name- Returns:
- the current instance of
RequiredConfigPropertyType
-
getConfigPropertyName
String getConfigPropertyName()Returns theconfig-property-nameelement- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
RequiredConfigPropertyType<T> removeConfigPropertyName()Removes theconfig-property-nameelement- Returns:
- the current instance of
RequiredConfigPropertyType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
RequiredConfigPropertyType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
RequiredConfigPropertyType<T> removeId()Removes theidattribute- Returns:
- the current instance of
RequiredConfigPropertyType
-