|
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 | |
---|---|
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 |
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 specVersion(String specVersion)
spec-version
element
specVersion
- the value for the element spec-version
ConnectorDescriptor
String getSpecVersion()
spec-version
element
spec-version
ConnectorDescriptor removeSpecVersion()
spec-version
element
ConnectorDescriptor
Icon<ConnectorDescriptor> getOrCreateIcon()
icon
element with the given value will be created.
Otherwise, the existing icon
element will be returned.
Icon
ConnectorDescriptor removeIcon()
icon
element
ConnectorDescriptor
ConnectorDescriptor displayName(String displayName)
display-name
element
displayName
- the value for the element display-name
ConnectorDescriptor
String getDisplayName()
display-name
element
display-name
ConnectorDescriptor removeDisplayName()
display-name
element
ConnectorDescriptor
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 description(String description)
description
element
description
- the value for the element description
ConnectorDescriptor
String getDescription()
description
element
description
ConnectorDescriptor removeDescription()
description
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
License<ConnectorDescriptor> getOrCreateLicense()
license
element with the given value will be created.
Otherwise, the existing license
element will be returned.
License
ConnectorDescriptor removeLicense()
license
element
ConnectorDescriptor
Resourceadapter<ConnectorDescriptor> getOrCreateResourceadapter()
resourceadapter
element with the given value will be created.
Otherwise, the existing resourceadapter
element will be returned.
Resourceadapter
ConnectorDescriptor removeResourceadapter()
resourceadapter
element
ConnectorDescriptor
ConnectorDescriptor version(String version)
version
element
version
- the value for the element version
ConnectorDescriptor
String getVersion()
version
element
version
ConnectorDescriptor removeVersion()
version
element
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 |