Interface License<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
LicenseImpl
public interface License<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thelicensexsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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-requiredelement
-
-
-
Method Detail
-
description
License<T> description(String description)
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
License
-
getDescription
String getDescription()
Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
License<T> removeDescription()
Removes thedescriptionelement- Returns:
- the current instance of
License
-
licenseRequired
License<T> licenseRequired(String licenseRequired)
Sets thelicense-requiredelement- Parameters:
licenseRequired- the value for the elementlicense-required- Returns:
- the current instance of
License
-
getLicenseRequired
String getLicenseRequired()
Returns thelicense-requiredelement- Returns:
- the node defined for the element
license-required
-
-