Package io.github.cdklabs.projen
Interface LicenseOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LicenseOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.774Z") @Stability(Experimental) public interface LicenseOptions extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLicenseOptions.BuilderA builder forLicenseOptionsstatic classLicenseOptions.Jsii$ProxyAn implementation forLicenseOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static LicenseOptions.Builderbuilder()default StringgetCopyrightOwner()(experimental) Copyright owner.default StringgetCopyrightPeriod()(experimental) Period of license (e.g.StringgetSpdx()(experimental) License type (SPDX).
-
-
-
Method Detail
-
getSpdx
@Stability(Experimental) @NotNull String getSpdx()
(experimental) License type (SPDX).
-
getCopyrightOwner
@Stability(Experimental) @Nullable default String getCopyrightOwner()
(experimental) Copyright owner.If the license text has $copyright_owner, this option must be specified.
Default: -
-
getCopyrightPeriod
@Stability(Experimental) @Nullable default String getCopyrightPeriod()
(experimental) Period of license (e.g. "1998-2023").The string
$copyright_periodwill be substituted with this string.Default: - current year (e.g. "2020")
-
builder
@Stability(Experimental) static LicenseOptions.Builder builder()
- Returns:
- a
LicenseOptions.BuilderofLicenseOptions
-
-