Interface ActivationspecType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    ActivationspecTypeImpl

    public interface ActivationspecType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the activationspecType xsd type
    • Method Detail

      • activationspecClass

        ActivationspecType<T> activationspecClass​(String activationspecClass)
        Sets the activationspec-class element
        Parameters:
        activationspecClass - the value for the element activationspec-class
        Returns:
        the current instance of ActivationspecType
      • getActivationspecClass

        String getActivationspecClass()
        Returns the activationspec-class element
        Returns:
        the node defined for the element activationspec-class
      • removeActivationspecClass

        ActivationspecType<T> removeActivationspecClass()
        Removes the activationspec-class element
        Returns:
        the current instance of ActivationspecType
      • getOrCreateRequiredConfigProperty

        RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty()
        If not already created, a new required-config-property element will be created and returned. Otherwise, the first existing required-config-property element will be returned.
        Returns:
        the instance defined for the element required-config-property
      • removeAllRequiredConfigProperty

        ActivationspecType<T> removeAllRequiredConfigProperty()
        Removes all required-config-property elements
        Returns:
        the current instance of RequiredConfigPropertyType>
      • getOrCreateConfigProperty

        ConfigPropertyType<ActivationspecType<T>> getOrCreateConfigProperty()
        If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.
        Returns:
        the instance defined for the element config-property
      • removeAllConfigProperty

        ActivationspecType<T> removeAllConfigProperty()
        Removes all config-property elements
        Returns:
        the current instance of ConfigPropertyType>
      • id

        ActivationspecType<T> id​(String id)
        Sets the id attribute
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of ActivationspecType
      • getId

        String getId()
        Returns the id attribute
        Returns:
        the value defined for the attribute id
      • removeId

        ActivationspecType<T> removeId()
        Removes the id attribute
        Returns:
        the current instance of ActivationspecType