Class LicenseImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector10.LicenseImpl<T>
-
-
Constructor Summary
Constructors Constructor Description LicenseImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)LicenseImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description License<T>description(String description)Sets thedescriptionelementStringgetDescription()Returns thedescriptionelementStringgetLicenseRequired()Returns thelicense-requiredelementLicense<T>licenseRequired(String licenseRequired)Sets thelicense-requiredelementLicense<T>removeDescription()Removes thedescriptionelementLicense<T>removeLicenseRequired()Removes thelicense-requiredelementTup()
-
-
-
Method Detail
-
description
public License<T> description(String description)
Sets thedescriptionelement- Specified by:
descriptionin interfaceLicense<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
License
-
getDescription
public String getDescription()
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceLicense<T>- Returns:
- the node defined for the element
description
-
removeDescription
public License<T> removeDescription()
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceLicense<T>- Returns:
- the current instance of
License
-
licenseRequired
public License<T> licenseRequired(String licenseRequired)
Sets thelicense-requiredelement- Specified by:
licenseRequiredin interfaceLicense<T>- Parameters:
licenseRequired- the value for the elementlicense-required- Returns:
- the current instance of
License
-
getLicenseRequired
public String getLicenseRequired()
Returns thelicense-requiredelement- Specified by:
getLicenseRequiredin interfaceLicense<T>- Returns:
- the node defined for the element
license-required
-
removeLicenseRequired
public License<T> removeLicenseRequired()
Removes thelicense-requiredelement- Specified by:
removeLicenseRequiredin interfaceLicense<T>- Returns:
- the current instance of
License
-
-