Interface ConfigProperty<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConfigPropertyImpl
public interface ConfigProperty<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
config-property xsd type-
Method Summary
Modifier and TypeMethodDescriptionconfigPropertyName(String configPropertyName) Sets theconfig-property-nameelementconfigPropertyType(String configPropertyType) Sets theconfig-property-typeelementconfigPropertyValue(String configPropertyValue) Sets theconfig-property-valueelementdescription(String description) Sets thedescriptionelementReturns theconfig-property-nameelementReturns theconfig-property-typeelementReturns theconfig-property-valueelementReturns thedescriptionelementRemoves theconfig-property-nameelementRemoves theconfig-property-typeelementRemoves theconfig-property-valueelementRemoves thedescriptionelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
configPropertyValue
Sets theconfig-property-valueelement- Parameters:
configPropertyValue- the value for the elementconfig-property-value- Returns:
- the current instance of
ConfigProperty
-
getConfigPropertyValue
String getConfigPropertyValue()Returns theconfig-property-valueelement- Returns:
- the node defined for the element
config-property-value
-
removeConfigPropertyValue
ConfigProperty<T> removeConfigPropertyValue()Removes theconfig-property-valueelement- Returns:
- the current instance of
ConfigProperty
-
description
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
ConfigProperty
-
getDescription
String getDescription()Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
ConfigProperty<T> removeDescription()Removes thedescriptionelement- Returns:
- the current instance of
ConfigProperty
-
configPropertyName
Sets theconfig-property-nameelement- Parameters:
configPropertyName- the value for the elementconfig-property-name- Returns:
- the current instance of
ConfigProperty
-
getConfigPropertyName
String getConfigPropertyName()Returns theconfig-property-nameelement- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
ConfigProperty<T> removeConfigPropertyName()Removes theconfig-property-nameelement- Returns:
- the current instance of
ConfigProperty
-
configPropertyType
Sets theconfig-property-typeelement- Parameters:
configPropertyType- the value for the elementconfig-property-type- Returns:
- the current instance of
ConfigProperty
-
getConfigPropertyType
String getConfigPropertyType()Returns theconfig-property-typeelement- Returns:
- the node defined for the element
config-property-type
-
removeConfigPropertyType
ConfigProperty<T> removeConfigPropertyType()Removes theconfig-property-typeelement- Returns:
- the current instance of
ConfigProperty
-