Modifier and Type | Method and Description |
---|---|
License |
License.Builder.build() |
static License |
License.newInstance()
Creates a new
License instance. |
static License |
License.newInstance(boolean withDefaults)
Creates a new
License instance using default values or not. |
License |
License.withComments(String comments)
Creates a new
License instance using the specified comments. |
License |
License.withDistribution(String distribution)
Creates a new
License instance using the specified distribution. |
License |
License.withName(String name)
Creates a new
License instance using the specified name. |
License |
License.withUrl(String url)
Creates a new
License instance using the specified url. |
Modifier and Type | Method and Description |
---|---|
List<License> |
Model.getLicenses()
This element describes all of the licenses for this project.
|
Modifier and Type | Method and Description |
---|---|
static License.Builder |
License.newBuilder(License from)
Creates a new
License builder instance using the specified object as a basis. |
static License.Builder |
License.newBuilder(License from,
boolean forceCopy)
Creates a new
License builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Model.Builder |
Model.Builder.licenses(Collection<License> licenses) |
Model |
Model.withLicenses(Collection<License> licenses)
Creates a new
Model instance using the specified licenses. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.