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 theconfig-propertyxsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigProperty<T>configPropertyName(String configPropertyName)Sets theconfig-property-nameelementConfigProperty<T>configPropertyType(String configPropertyType)Sets theconfig-property-typeelementConfigProperty<T>configPropertyValue(String configPropertyValue)Sets theconfig-property-valueelementConfigProperty<T>description(String description)Sets thedescriptionelementStringgetConfigPropertyName()Returns theconfig-property-nameelementStringgetConfigPropertyType()Returns theconfig-property-typeelementStringgetConfigPropertyValue()Returns theconfig-property-valueelementStringgetDescription()Returns thedescriptionelementConfigProperty<T>removeConfigPropertyName()Removes theconfig-property-nameelementConfigProperty<T>removeConfigPropertyType()Removes theconfig-property-typeelementConfigProperty<T>removeConfigPropertyValue()Removes theconfig-property-valueelementConfigProperty<T>removeDescription()Removes thedescriptionelement
-
-
-
Method Detail
-
configPropertyValue
ConfigProperty<T> configPropertyValue(String 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
ConfigProperty<T> description(String 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
ConfigProperty<T> configPropertyName(String 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
ConfigProperty<T> configPropertyType(String 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
-
-