| Modifier and Type | Method and Description |
|---|---|
License |
build() |
License.Builder |
copyrightOwner(String copyrightOwner)
(experimental) Copyright owner.
|
License.Builder |
copyrightPeriod(String copyrightPeriod)
(experimental) Period of license (e.g.
|
static License.Builder |
create(Project project) |
License.Builder |
spdx(String spdx)
(experimental) License type (SPDX).
|
@Stability(value=Experimental) public static License.Builder create(Project project)
project - This parameter is required.License.Builder.@Stability(value=Experimental) public License.Builder spdx(String spdx)
spdx - License type (SPDX). This parameter is required.thisfor list of supported licenses@Stability(value=Experimental) public License.Builder copyrightOwner(String copyrightOwner)
If the license text has $copyright_owner, this option must be specified.
Default: -
copyrightOwner - Copyright owner. This parameter is required.this@Stability(value=Experimental) public License.Builder copyrightPeriod(String copyrightPeriod)
The string $copyright_period will be substituted with this string.
Default: - current year (e.g. "2020")
copyrightPeriod - Period of license (e.g. "1998-2023"). This parameter is required.thisCopyright © 2021. All rights reserved.