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 therequired-config-propertyTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequiredConfigPropertyType<T>configPropertyName(String configPropertyName)Sets theconfig-property-nameelementRequiredConfigPropertyType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetConfigPropertyName()Returns theconfig-property-nameelementStringgetId()Returns theidattributeRequiredConfigPropertyType<T>id(String id)Sets theidattributeRequiredConfigPropertyType<T>removeAllDescription()Removes thedescriptionelementRequiredConfigPropertyType<T>removeConfigPropertyName()Removes theconfig-property-nameelementRequiredConfigPropertyType<T>removeId()Removes theidattribute
-
-
-
Method Detail
-
description
RequiredConfigPropertyType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
RequiredConfigPropertyType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
RequiredConfigPropertyType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
RequiredConfigPropertyType
-
configPropertyName
RequiredConfigPropertyType<T> configPropertyName(String 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
RequiredConfigPropertyType<T> id(String 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
-
-