|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorDescriptor
This deployment descriptor provides the functionalities as described in the specification
Example:
ConnectorDescriptor descriptor = Descriptors.create(ConnectorDescriptor.class);
Method Summary | |
---|---|
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 |
String |
getEisType()
Returns the eis-type 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 |
removeAllDescription()
Removes the description element |
ConnectorDescriptor |
removeAllDisplayName()
Removes the display-name element |
ConnectorDescriptor |
removeAllIcon()
Removes all icon elements |
ConnectorDescriptor |
removeEisType()
Removes the eis-type element |
ConnectorDescriptor |
removeLicense()
Removes the license 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 |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace |
---|
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces |
Method Detail |
---|
ConnectorDescriptor description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ConnectorDescriptor
List<String> getAllDescription()
description
elements
description
ConnectorDescriptor removeAllDescription()
description
element
ConnectorDescriptor
ConnectorDescriptor displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
ConnectorDescriptor
List<String> getAllDisplayName()
display-name
elements
display-name
ConnectorDescriptor removeAllDisplayName()
display-name
element
ConnectorDescriptor
IconType<ConnectorDescriptor> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<ConnectorDescriptor> createIcon()
icon
element
IconType
List<IconType<ConnectorDescriptor>> getAllIcon()
icon
elements
icon
ConnectorDescriptor removeAllIcon()
icon
elements
IconType
ConnectorDescriptor vendorName(String vendorName)
vendor-name
element
vendorName
- the value for the element vendor-name
ConnectorDescriptor
String getVendorName()
vendor-name
element
vendor-name
ConnectorDescriptor removeVendorName()
vendor-name
element
ConnectorDescriptor
ConnectorDescriptor eisType(String eisType)
eis-type
element
eisType
- the value for the element eis-type
ConnectorDescriptor
String getEisType()
eis-type
element
eis-type
ConnectorDescriptor removeEisType()
eis-type
element
ConnectorDescriptor
ConnectorDescriptor resourceadapterVersion(String resourceadapterVersion)
resourceadapter-version
element
resourceadapterVersion
- the value for the element resourceadapter-version
ConnectorDescriptor
String getResourceadapterVersion()
resourceadapter-version
element
resourceadapter-version
ConnectorDescriptor removeResourceadapterVersion()
resourceadapter-version
element
ConnectorDescriptor
LicenseType<ConnectorDescriptor> getOrCreateLicense()
license
element with the given value will be created.
Otherwise, the existing license
element will be returned.
LicenseType
ConnectorDescriptor removeLicense()
license
element
ConnectorDescriptor
ResourceadapterType<ConnectorDescriptor> getOrCreateResourceadapter()
resourceadapter
element with the given value will be created.
Otherwise, the existing resourceadapter
element will be returned.
ResourceadapterType
ConnectorDescriptor removeResourceadapter()
resourceadapter
element
ConnectorDescriptor
ConnectorDescriptor version(String version)
version
attribute
version
- the value for the attribute version
ConnectorDescriptor
String getVersion()
version
attribute
version
ConnectorDescriptor removeVersion()
version
attribute
ConnectorDescriptor
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |