
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);
| Modifier and Type | Method and Description |
|---|---|
ConnectorDescriptor |
description(String description)
Sets the
description element |
ConnectorDescriptor |
displayName(String displayName)
Sets the
display-name element |
ConnectorDescriptor |
eisType(String eisType)
Sets the
eis-type element |
String |
getDescription()
Returns the
description element |
String |
getDisplayName()
Returns the
display-name element |
String |
getEisType()
Returns the
eis-type element |
Icon<ConnectorDescriptor> |
getOrCreateIcon()
If not already created, a new
icon element with the given value will be created. |
License<ConnectorDescriptor> |
getOrCreateLicense()
If not already created, a new
license element with the given value will be created. |
Resourceadapter<ConnectorDescriptor> |
getOrCreateResourceadapter()
If not already created, a new
resourceadapter element with the given value will be created. |
String |
getSpecVersion()
Returns the
spec-version element |
String |
getVendorName()
Returns the
vendor-name element |
String |
getVersion()
Returns the
version element |
ConnectorDescriptor |
removeDescription()
Removes the
description element |
ConnectorDescriptor |
removeDisplayName()
Removes the
display-name element |
ConnectorDescriptor |
removeEisType()
Removes the
eis-type element |
ConnectorDescriptor |
removeIcon()
Removes the
icon element |
ConnectorDescriptor |
removeLicense()
Removes the
license element |
ConnectorDescriptor |
removeResourceadapter()
Removes the
resourceadapter element |
ConnectorDescriptor |
removeSpecVersion()
Removes the
spec-version element |
ConnectorDescriptor |
removeVendorName()
Removes the
vendor-name element |
ConnectorDescriptor |
removeVersion()
Removes the
version element |
ConnectorDescriptor |
specVersion(String specVersion)
Sets the
spec-version element |
ConnectorDescriptor |
vendorName(String vendorName)
Sets the
vendor-name element |
ConnectorDescriptor |
version(String version)
Sets the
version element |
ConnectorDescriptor specVersion(String specVersion)
spec-version elementspecVersion - the value for the element spec-versionConnectorDescriptorString getSpecVersion()
spec-version elementspec-versionConnectorDescriptor removeSpecVersion()
spec-version elementConnectorDescriptorLicense<ConnectorDescriptor> getOrCreateLicense()
license element with the given value will be created.
Otherwise, the existing license element will be returned.LicenseConnectorDescriptor removeLicense()
license elementConnectorDescriptorConnectorDescriptor displayName(String displayName)
display-name elementdisplayName - the value for the element display-nameConnectorDescriptorString getDisplayName()
display-name elementdisplay-nameConnectorDescriptor removeDisplayName()
display-name elementConnectorDescriptorIcon<ConnectorDescriptor> getOrCreateIcon()
icon element with the given value will be created.
Otherwise, the existing icon element will be returned.IconConnectorDescriptor removeIcon()
icon elementConnectorDescriptorConnectorDescriptor description(String description)
description elementdescription - the value for the element descriptionConnectorDescriptorString getDescription()
description elementdescriptionConnectorDescriptor removeDescription()
description elementConnectorDescriptorConnectorDescriptor vendorName(String vendorName)
vendor-name elementvendorName - the value for the element vendor-nameConnectorDescriptorString getVendorName()
vendor-name elementvendor-nameConnectorDescriptor removeVendorName()
vendor-name elementConnectorDescriptorConnectorDescriptor eisType(String eisType)
eis-type elementeisType - the value for the element eis-typeConnectorDescriptorString getEisType()
eis-type elementeis-typeConnectorDescriptor removeEisType()
eis-type elementConnectorDescriptorConnectorDescriptor version(String version)
version elementversion - the value for the element versionConnectorDescriptorString getVersion()
version elementversionConnectorDescriptor removeVersion()
version elementConnectorDescriptorResourceadapter<ConnectorDescriptor> getOrCreateResourceadapter()
resourceadapter element with the given value will be created.
Otherwise, the existing resourceadapter element will be returned.ResourceadapterConnectorDescriptor removeResourceadapter()
resourceadapter elementConnectorDescriptorCopyright © 2014 IronJacamar (http://www.ironjacamar.org)