Package io.github.cdklabs.projen
Class LicenseOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.LicenseOptions.Jsii$Proxy
-
- All Implemented Interfaces:
LicenseOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LicenseOptions
@Stability(Experimental) @Internal public static final class LicenseOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LicenseOptions
An implementation forLicenseOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.LicenseOptions
LicenseOptions.Builder, LicenseOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LicenseOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theLicenseOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetCopyrightOwner()(experimental) Copyright owner.StringgetCopyrightPeriod()(experimental) Period of license (e.g.StringgetSpdx()(experimental) License type (SPDX).inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(LicenseOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theLicenseOptions.Builder.
-
-
Method Detail
-
getSpdx
public final String getSpdx()
Description copied from interface:LicenseOptions(experimental) License type (SPDX).- Specified by:
getSpdxin interfaceLicenseOptions- See Also:
- https://github.com/projen/projen/tree/main/license-text for list of supported licenses
-
getCopyrightOwner
public final String getCopyrightOwner()
Description copied from interface:LicenseOptions(experimental) Copyright owner.If the license text has $copyright_owner, this option must be specified.
Default: -
- Specified by:
getCopyrightOwnerin interfaceLicenseOptions
-
getCopyrightPeriod
public final String getCopyrightPeriod()
Description copied from interface:LicenseOptions(experimental) Period of license (e.g. "1998-2023").The string
$copyright_periodwill be substituted with this string.Default: - current year (e.g. "2020")
- Specified by:
getCopyrightPeriodin interfaceLicenseOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-