
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 |
|---|---|
IconType<ConnectorDescriptor> |
createIcon()
Creates a new
icon element |
ConnectorDescriptor |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
ConnectorDescriptor |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
ConnectorDescriptor |
eisType(String eisType)
Sets the
eis-type element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<ConnectorDescriptor>> |
getAllIcon()
Returns all
icon elements |
List<String> |
getAllRequiredWorkContext()
Returns all
required-work-context elements |
String |
getEisType()
Returns the
eis-type element |
String |
getId()
Returns the
id attribute |
String |
getModuleName()
Returns the
module-name element |
IconType<ConnectorDescriptor> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
LicenseType<ConnectorDescriptor> |
getOrCreateLicense()
If not already created, a new
license element with the given value will be created. |
ResourceadapterType<ConnectorDescriptor> |
getOrCreateResourceadapter()
If not already created, a new
resourceadapter element with the given value will be created. |
String |
getResourceadapterVersion()
Returns the
resourceadapter-version element |
String |
getVendorName()
Returns the
vendor-name element |
String |
getVersion()
Returns the
version attribute |
ConnectorDescriptor |
id(String id)
Sets the
id attribute |
Boolean |
isMetadataComplete()
Returns the
metadata-complete attribute |
ConnectorDescriptor |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
ConnectorDescriptor |
moduleName(String moduleName)
Sets the
module-name element |
ConnectorDescriptor |
removeAllDescription()
Removes the
description element |
ConnectorDescriptor |
removeAllDisplayName()
Removes the
display-name element |
ConnectorDescriptor |
removeAllIcon()
Removes all
icon elements |
ConnectorDescriptor |
removeAllRequiredWorkContext()
Removes the
required-work-context element |
ConnectorDescriptor |
removeEisType()
Removes the
eis-type element |
ConnectorDescriptor |
removeId()
Removes the
id attribute |
ConnectorDescriptor |
removeLicense()
Removes the
license element |
ConnectorDescriptor |
removeMetadataComplete()
Removes the
metadata-complete attribute |
ConnectorDescriptor |
removeModuleName()
Removes the
module-name element |
ConnectorDescriptor |
removeResourceadapter()
Removes the
resourceadapter element |
ConnectorDescriptor |
removeResourceadapterVersion()
Removes the
resourceadapter-version element |
ConnectorDescriptor |
removeVendorName()
Removes the
vendor-name element |
ConnectorDescriptor |
removeVersion()
Removes the
version attribute |
ConnectorDescriptor |
requiredWorkContext(String... values)
Creates for all String objects representing
required-work-context elements,
a new required-work-context element |
ConnectorDescriptor |
resourceadapterVersion(String resourceadapterVersion)
Sets the
resourceadapter-version element |
ConnectorDescriptor |
vendorName(String vendorName)
Sets the
vendor-name element |
ConnectorDescriptor |
version(String version)
Sets the
version attribute |
static final String VERSION
ConnectorDescriptor description(String... values)
description elements,
a new description elementvalues - list of description objectsConnectorDescriptorList<String> getAllDescription()
description elementsdescriptionConnectorDescriptor removeAllDescription()
description elementConnectorDescriptorConnectorDescriptor displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsConnectorDescriptorList<String> getAllDisplayName()
display-name elementsdisplay-nameConnectorDescriptor removeAllDisplayName()
display-name elementConnectorDescriptorIconType<ConnectorDescriptor> getOrCreateIcon()
icon element will be created and returned.
Otherwise, the first existing icon element will be returned.iconIconType<ConnectorDescriptor> createIcon()
icon elementIconTypeList<IconType<ConnectorDescriptor>> getAllIcon()
icon elementsiconConnectorDescriptor removeAllIcon()
icon elementsIconTypeConnectorDescriptor moduleName(String moduleName)
module-name elementmoduleName - the value for the element module-nameConnectorDescriptorString getModuleName()
module-name elementmodule-nameConnectorDescriptor removeModuleName()
module-name 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 resourceadapterVersion(String resourceadapterVersion)
resourceadapter-version elementresourceadapterVersion - the value for the element resourceadapter-versionConnectorDescriptorString getResourceadapterVersion()
resourceadapter-version elementresourceadapter-versionConnectorDescriptor removeResourceadapterVersion()
resourceadapter-version elementConnectorDescriptorLicenseType<ConnectorDescriptor> getOrCreateLicense()
license element with the given value will be created.
Otherwise, the existing license element will be returned.LicenseTypeConnectorDescriptor removeLicense()
license elementConnectorDescriptorResourceadapterType<ConnectorDescriptor> getOrCreateResourceadapter()
resourceadapter element with the given value will be created.
Otherwise, the existing resourceadapter element will be returned.ResourceadapterTypeConnectorDescriptor removeResourceadapter()
resourceadapter elementConnectorDescriptorConnectorDescriptor requiredWorkContext(String... values)
required-work-context elements,
a new required-work-context elementvalues - list of required-work-context objectsConnectorDescriptorList<String> getAllRequiredWorkContext()
required-work-context elementsrequired-work-contextConnectorDescriptor removeAllRequiredWorkContext()
required-work-context elementConnectorDescriptorConnectorDescriptor version(String version)
version attributeversion - the value for the attribute versionConnectorDescriptorString getVersion()
version attributeversionConnectorDescriptor removeVersion()
version attributeConnectorDescriptorConnectorDescriptor metadataComplete(Boolean metadataComplete)
metadata-complete attributemetadataComplete - the value for the attribute metadata-completeConnectorDescriptorBoolean isMetadataComplete()
metadata-complete attributemetadata-completeConnectorDescriptor removeMetadataComplete()
metadata-complete attributeConnectorDescriptorConnectorDescriptor id(String id)
id attributeid - the value for the attribute idConnectorDescriptorString getId()
id attributeidConnectorDescriptor removeId()
id attributeConnectorDescriptorCopyright © 2013 IronJacamar (http://www.ironjacamar.org)