| Constructor and Description |
|---|
ConnectorImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ConnectorImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| Modifier and Type | Method and Description |
|---|---|
Connector<T> |
description(String description)
Sets the
description element |
Connector<T> |
displayName(String displayName)
Sets the
display-name element |
Connector<T> |
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<Connector<T>> |
getOrCreateIcon()
If not already created, a new
icon element with the given value will be created. |
License<Connector<T>> |
getOrCreateLicense()
If not already created, a new
license element with the given value will be created. |
Resourceadapter<Connector<T>> |
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 |
Connector<T> |
removeDescription()
Removes the
description element |
Connector<T> |
removeDisplayName()
Removes the
display-name element |
Connector<T> |
removeEisType()
Removes the
eis-type element |
Connector<T> |
removeIcon()
Removes the
icon element |
Connector<T> |
removeLicense()
Removes the
license element |
Connector<T> |
removeResourceadapter()
Removes the
resourceadapter element |
Connector<T> |
removeSpecVersion()
Removes the
spec-version element |
Connector<T> |
removeVendorName()
Removes the
vendor-name element |
Connector<T> |
removeVersion()
Removes the
version element |
Connector<T> |
specVersion(String specVersion)
Sets the
spec-version element |
T |
up() |
Connector<T> |
vendorName(String vendorName)
Sets the
vendor-name element |
Connector<T> |
version(String version)
Sets the
version element |
public ConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public Connector<T> specVersion(String specVersion)
spec-version elementspecVersion in interface Connector<T>specVersion - the value for the element spec-versionConnectorpublic String getSpecVersion()
spec-version elementgetSpecVersion in interface Connector<T>spec-versionpublic Connector<T> removeSpecVersion()
spec-version elementremoveSpecVersion in interface Connector<T>Connectorpublic License<Connector<T>> getOrCreateLicense()
license element with the given value will be created.
Otherwise, the existing license element will be returned.getOrCreateLicense in interface Connector<T>License> public Connector<T> removeLicense()
license elementremoveLicense in interface Connector<T>Connectorpublic Connector<T> displayName(String displayName)
display-name elementdisplayName in interface Connector<T>displayName - the value for the element display-nameConnectorpublic String getDisplayName()
display-name elementgetDisplayName in interface Connector<T>display-namepublic Connector<T> removeDisplayName()
display-name elementremoveDisplayName in interface Connector<T>Connectorpublic Icon<Connector<T>> getOrCreateIcon()
icon element with the given value will be created.
Otherwise, the existing icon element will be returned.getOrCreateIcon in interface Connector<T>Icon> public Connector<T> removeIcon()
icon elementremoveIcon in interface Connector<T>Connectorpublic Connector<T> description(String description)
description elementdescription in interface Connector<T>description - the value for the element descriptionConnectorpublic String getDescription()
description elementgetDescription in interface Connector<T>descriptionpublic Connector<T> removeDescription()
description elementremoveDescription in interface Connector<T>Connectorpublic Connector<T> vendorName(String vendorName)
vendor-name elementvendorName in interface Connector<T>vendorName - the value for the element vendor-nameConnectorpublic String getVendorName()
vendor-name elementgetVendorName in interface Connector<T>vendor-namepublic Connector<T> removeVendorName()
vendor-name elementremoveVendorName in interface Connector<T>Connectorpublic String getEisType()
eis-type elementgetEisType in interface Connector<T>eis-typepublic Connector<T> removeEisType()
eis-type elementremoveEisType in interface Connector<T>Connectorpublic String getVersion()
version elementgetVersion in interface Connector<T>versionpublic Connector<T> removeVersion()
version elementremoveVersion in interface Connector<T>Connectorpublic Resourceadapter<Connector<T>> getOrCreateResourceadapter()
resourceadapter element with the given value will be created.
Otherwise, the existing resourceadapter element will be returned.getOrCreateResourceadapter in interface Connector<T>Resourceadapter> public Connector<T> removeResourceadapter()
resourceadapter elementremoveResourceadapter in interface Connector<T>ConnectorCopyright © 2021 JBoss by Red Hat. All rights reserved.