Class LicenseCheckerOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.javascript.LicenseCheckerOptions.Jsii$Proxy
-
- All Implemented Interfaces:
LicenseCheckerOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LicenseCheckerOptions
@Stability(Experimental) @Internal public static final class LicenseCheckerOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LicenseCheckerOptions
An implementation forLicenseCheckerOptions
-
-
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.javascript.LicenseCheckerOptions
LicenseCheckerOptions.Builder, LicenseCheckerOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LicenseCheckerOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theLicenseCheckerOptions.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)List<String>getAllow()(experimental) List of SPDX license identifiers that are allowed to be used.List<String>getDeny()(experimental) List of SPDX license identifiers that are prohibited to be used.BooleangetDevelopment()(experimental) Check development dependencies.BooleangetProduction()(experimental) Check production dependencies.StringgetTaskName()(experimental) The name of the task that is added to check licenses.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(LicenseCheckerOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theLicenseCheckerOptions.Builder.
-
-
Method Detail
-
getAllow
public final List<String> getAllow()
Description copied from interface:LicenseCheckerOptions(experimental) List of SPDX license identifiers that are allowed to be used.For the license check to pass, all detected licenses MUST be in this list. Only one of
allowedLicensesandprohibitedLicensescan be provided and must not be empty.Default: - no licenses are allowed
- Specified by:
getAllowin interfaceLicenseCheckerOptions
-
getDeny
public final List<String> getDeny()
Description copied from interface:LicenseCheckerOptions(experimental) List of SPDX license identifiers that are prohibited to be used.For the license check to pass, no detected licenses can be in this list. Only one of
allowedLicensesandprohibitedLicensescan be provided and must not be empty.Default: - no licenses are prohibited
- Specified by:
getDenyin interfaceLicenseCheckerOptions
-
getDevelopment
public final Boolean getDevelopment()
Description copied from interface:LicenseCheckerOptions(experimental) Check development dependencies.Default: false
- Specified by:
getDevelopmentin interfaceLicenseCheckerOptions
-
getProduction
public final Boolean getProduction()
Description copied from interface:LicenseCheckerOptions(experimental) Check production dependencies.Default: true
- Specified by:
getProductionin interfaceLicenseCheckerOptions
-
getTaskName
public final String getTaskName()
Description copied from interface:LicenseCheckerOptions(experimental) The name of the task that is added to check licenses.Default: "check-licenses"
- Specified by:
getTaskNamein interfaceLicenseCheckerOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-