Package io.github.cdklabs.projen.gitlab
Class Cache.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.gitlab.Cache.Jsii$Proxy
-
-
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.gitlab.Cache
Cache.Builder, Cache.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Cache.Builder builder)Constructor that initializes the object based on literal property values passed by theCache.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>getFallbackKeys()(experimental) Use cache:fallback_keys to specify a list of keys to try to restore cache from if there is no cache found for the cache:key.ObjectgetKey()(experimental) Used the to give each cache a unique identifying key.List<String>getPaths()(experimental) Defines which files or directories to cache.CachePolicygetPolicy()(experimental) Defines the upload and download behaviour of the cache.BooleangetUntracked()(experimental) If set to true all files that are untracked in your Git repository will be cached.CacheWhengetWhen()(experimental) Defines when to save the cache, based on the status of the job (Default: Job Success).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(Cache.Builder builder)
Constructor that initializes the object based on literal property values passed by theCache.Builder.
-
-
Method Detail
-
getFallbackKeys
public final List<String> getFallbackKeys()
Description copied from interface:Cache(experimental) Use cache:fallback_keys to specify a list of keys to try to restore cache from if there is no cache found for the cache:key.Caches are retrieved in the order specified in the fallback_keys section.
- Specified by:
getFallbackKeysin interfaceCache
-
getKey
public final Object getKey()
Description copied from interface:Cache(experimental) Used the to give each cache a unique identifying key.All jobs that use the same cache key use the same cache.
-
getPaths
public final List<String> getPaths()
Description copied from interface:Cache(experimental) Defines which files or directories to cache.
-
getPolicy
public final CachePolicy getPolicy()
Description copied from interface:Cache(experimental) Defines the upload and download behaviour of the cache.
-
getUntracked
public final Boolean getUntracked()
Description copied from interface:Cache(experimental) If set to true all files that are untracked in your Git repository will be cached.- Specified by:
getUntrackedin interfaceCache
-
getWhen
public final CacheWhen getWhen()
Description copied from interface:Cache(experimental) Defines when to save the cache, based on the status of the job (Default: Job Success).
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-