Class ConfigPropertyImpl<T>

  • All Implemented Interfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigProperty<T>

    public class ConfigPropertyImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigProperty<T>
    This class implements the config-property xsd type
    • Constructor Detail

      • ConfigPropertyImpl

        public ConfigPropertyImpl​(T t,
                                  String nodeName,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • ConfigPropertyImpl

        public ConfigPropertyImpl​(T t,
                                  String nodeName,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • configPropertyValue

        public ConfigProperty<T> configPropertyValue​(String configPropertyValue)
        Sets the config-property-value element
        Specified by:
        configPropertyValue in interface ConfigProperty<T>
        Parameters:
        configPropertyValue - the value for the element config-property-value
        Returns:
        the current instance of ConfigProperty
      • getConfigPropertyValue

        public String getConfigPropertyValue()
        Returns the config-property-value element
        Specified by:
        getConfigPropertyValue in interface ConfigProperty<T>
        Returns:
        the node defined for the element config-property-value
      • description

        public ConfigProperty<T> description​(String description)
        Sets the description element
        Specified by:
        description in interface ConfigProperty<T>
        Parameters:
        description - the value for the element description
        Returns:
        the current instance of ConfigProperty
      • getDescription

        public String getDescription()
        Returns the description element
        Specified by:
        getDescription in interface ConfigProperty<T>
        Returns:
        the node defined for the element description
      • configPropertyName

        public ConfigProperty<T> configPropertyName​(String configPropertyName)
        Sets the config-property-name element
        Specified by:
        configPropertyName in interface ConfigProperty<T>
        Parameters:
        configPropertyName - the value for the element config-property-name
        Returns:
        the current instance of ConfigProperty
      • getConfigPropertyName

        public String getConfigPropertyName()
        Returns the config-property-name element
        Specified by:
        getConfigPropertyName in interface ConfigProperty<T>
        Returns:
        the node defined for the element config-property-name
      • configPropertyType

        public ConfigProperty<T> configPropertyType​(String configPropertyType)
        Sets the config-property-type element
        Specified by:
        configPropertyType in interface ConfigProperty<T>
        Parameters:
        configPropertyType - the value for the element config-property-type
        Returns:
        the current instance of ConfigProperty
      • getConfigPropertyType

        public String getConfigPropertyType()
        Returns the config-property-type element
        Specified by:
        getConfigPropertyType in interface ConfigProperty<T>
        Returns:
        the node defined for the element config-property-type