public static class MavenLicense.Builder extends Object
MavenLicense.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MavenLicense |
build() |
MavenLicense.Builder |
comments(String comments)
Set comments associated with the license.
|
MavenLicense.Builder |
distribution(MavenLicense.Distribution distribution)
Set the distribution mechanism of the project associated with the license.
|
MavenLicense.Builder |
name(String name)
Set the name of the license.
|
MavenLicense.Builder |
url(String url)
Set the URL of the license.
|
public MavenLicense.Builder name(String name)
name - the name of the license or nullpublic MavenLicense.Builder url(String url)
url - the URL of the license or nullpublic MavenLicense.Builder distribution(MavenLicense.Distribution distribution)
distribution - the distribution mechanism of the project or nullpublic MavenLicense.Builder comments(String comments)
comments - the comments for the license or nullpublic MavenLicense build()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.