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-version
ConnectorDescriptor
String getSpecVersion()
spec-version
elementspec-version
ConnectorDescriptor removeSpecVersion()
spec-version
elementConnectorDescriptor
Icon<ConnectorDescriptor> getOrCreateIcon()
icon
element with the given value will be created.
Otherwise, the existing icon
element will be returned.Icon
ConnectorDescriptor removeIcon()
icon
elementConnectorDescriptor
ConnectorDescriptor displayName(String displayName)
display-name
elementdisplayName
- the value for the element display-name
ConnectorDescriptor
String getDisplayName()
display-name
elementdisplay-name
ConnectorDescriptor removeDisplayName()
display-name
elementConnectorDescriptor
ConnectorDescriptor vendorName(String vendorName)
vendor-name
elementvendorName
- the value for the element vendor-name
ConnectorDescriptor
String getVendorName()
vendor-name
elementvendor-name
ConnectorDescriptor removeVendorName()
vendor-name
elementConnectorDescriptor
ConnectorDescriptor description(String description)
description
elementdescription
- the value for the element description
ConnectorDescriptor
String getDescription()
description
elementdescription
ConnectorDescriptor removeDescription()
description
elementConnectorDescriptor
ConnectorDescriptor eisType(String eisType)
eis-type
elementeisType
- the value for the element eis-type
ConnectorDescriptor
String getEisType()
eis-type
elementeis-type
ConnectorDescriptor removeEisType()
eis-type
elementConnectorDescriptor
License<ConnectorDescriptor> getOrCreateLicense()
license
element with the given value will be created.
Otherwise, the existing license
element will be returned.License
ConnectorDescriptor removeLicense()
license
elementConnectorDescriptor
Resourceadapter<ConnectorDescriptor> getOrCreateResourceadapter()
resourceadapter
element with the given value will be created.
Otherwise, the existing resourceadapter
element will be returned.Resourceadapter
ConnectorDescriptor removeResourceadapter()
resourceadapter
elementConnectorDescriptor
ConnectorDescriptor version(String version)
version
elementversion
- the value for the element version
ConnectorDescriptor
String getVersion()
version
elementversion
ConnectorDescriptor removeVersion()
version
elementConnectorDescriptor
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)