Interface ConnectorDescriptor

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<ConnectorDescriptor>
All Known Implementing Classes:
ConnectorDescriptorImpl

public interface ConnectorDescriptor extends org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<ConnectorDescriptor>

This deployment descriptor provides the functionalities as described in the specification

Example:

ConnectorDescriptor descriptor = Descriptors.create(ConnectorDescriptor.class);

  • Method Details

    • specVersion

      ConnectorDescriptor specVersion(String specVersion)
      Sets the spec-version element
      Parameters:
      specVersion - the value for the element spec-version
      Returns:
      the current instance of ConnectorDescriptor
    • getSpecVersion

      String getSpecVersion()
      Returns the spec-version element
      Returns:
      the node defined for the element spec-version
    • removeSpecVersion

      ConnectorDescriptor removeSpecVersion()
      Removes the spec-version element
      Returns:
      the current instance of ConnectorDescriptor
    • getOrCreateLicense

      License<ConnectorDescriptor> getOrCreateLicense()
      If not already created, a new license element with the given value will be created. Otherwise, the existing license element will be returned.
      Returns:
      a new or existing instance of License
    • removeLicense

      ConnectorDescriptor removeLicense()
      Removes the license element
      Returns:
      the current instance of ConnectorDescriptor
    • displayName

      ConnectorDescriptor displayName(String displayName)
      Sets the display-name element
      Parameters:
      displayName - the value for the element display-name
      Returns:
      the current instance of ConnectorDescriptor
    • getDisplayName

      String getDisplayName()
      Returns the display-name element
      Returns:
      the node defined for the element display-name
    • removeDisplayName

      ConnectorDescriptor removeDisplayName()
      Removes the display-name element
      Returns:
      the current instance of ConnectorDescriptor
    • getOrCreateIcon

      Icon<ConnectorDescriptor> getOrCreateIcon()
      If not already created, a new icon element with the given value will be created. Otherwise, the existing icon element will be returned.
      Returns:
      a new or existing instance of Icon
    • removeIcon

      ConnectorDescriptor removeIcon()
      Removes the icon element
      Returns:
      the current instance of ConnectorDescriptor
    • description

      ConnectorDescriptor description(String description)
      Sets the description element
      Parameters:
      description - the value for the element description
      Returns:
      the current instance of ConnectorDescriptor
    • getDescription

      String getDescription()
      Returns the description element
      Returns:
      the node defined for the element description
    • removeDescription

      ConnectorDescriptor removeDescription()
      Removes the description element
      Returns:
      the current instance of ConnectorDescriptor
    • vendorName

      ConnectorDescriptor vendorName(String vendorName)
      Sets the vendor-name element
      Parameters:
      vendorName - the value for the element vendor-name
      Returns:
      the current instance of ConnectorDescriptor
    • getVendorName

      String getVendorName()
      Returns the vendor-name element
      Returns:
      the node defined for the element vendor-name
    • removeVendorName

      ConnectorDescriptor removeVendorName()
      Removes the vendor-name element
      Returns:
      the current instance of ConnectorDescriptor
    • eisType

      ConnectorDescriptor eisType(String eisType)
      Sets the eis-type element
      Parameters:
      eisType - the value for the element eis-type
      Returns:
      the current instance of ConnectorDescriptor
    • getEisType

      String getEisType()
      Returns the eis-type element
      Returns:
      the node defined for the element eis-type
    • removeEisType

      ConnectorDescriptor removeEisType()
      Removes the eis-type element
      Returns:
      the current instance of ConnectorDescriptor
    • version

      ConnectorDescriptor version(String version)
      Sets the version element
      Parameters:
      version - the value for the element version
      Returns:
      the current instance of ConnectorDescriptor
    • getVersion

      String getVersion()
      Returns the version element
      Returns:
      the node defined for the element version
    • removeVersion

      ConnectorDescriptor removeVersion()
      Removes the version element
      Returns:
      the current instance of ConnectorDescriptor
    • getOrCreateResourceadapter

      Resourceadapter<ConnectorDescriptor> getOrCreateResourceadapter()
      If not already created, a new resourceadapter element with the given value will be created. Otherwise, the existing resourceadapter element will be returned.
      Returns:
      a new or existing instance of Resourceadapter
    • removeResourceadapter

      ConnectorDescriptor removeResourceadapter()
      Removes the resourceadapter element
      Returns:
      the current instance of ConnectorDescriptor