Uses of Class
org.apache.maven.api.model.License
-
Uses of License in org.apache.maven.api.model
Methods in org.apache.maven.api.model that return LicenseModifier and TypeMethodDescriptionLicense.Builder.build()
static License
License.newInstance()
Creates a newLicense
instance.static License
License.newInstance
(boolean withDefaults) Creates a newLicense
instance using default values or not.License.withComments
(String comments) Creates a newLicense
instance using the specified comments.License.withDistribution
(String distribution) Creates a newLicense
instance using the specified distribution.Creates a newLicense
instance using the specified name.Creates a newLicense
instance using the specified url.Methods in org.apache.maven.api.model that return types with arguments of type LicenseModifier and TypeMethodDescriptionModel.getLicenses()
This element describes all of the licenses for this project.Methods in org.apache.maven.api.model with parameters of type LicenseModifier and TypeMethodDescriptionstatic License.Builder
License.newBuilder
(License from) Creates a newLicense
builder instance using the specified object as a basis.static License.Builder
License.newBuilder
(License from, boolean forceCopy) Creates a newLicense
builder instance using the specified object as a basis.Method parameters in org.apache.maven.api.model with type arguments of type LicenseModifier and TypeMethodDescriptionModel.Builder.licenses
(Collection<License> licenses) Model.withLicenses
(Collection<License> licenses) Creates a newModel
instance using the specified licenses.