-
- All Implemented Interfaces:
-
org.jetbrains.kotlinx.jupyter.api.libraries.VariablesSubstitutionAware
public final class LibraryResource implements VariablesSubstitutionAware<LibraryResource>
-
-
Field Summary
Fields Modifier and Type Field Description private final List<ResourceFallbacksBundle>bundlesprivate final ResourceTypetypeprivate final Stringname
-
Constructor Summary
Constructors Constructor Description LibraryResource(List<ResourceFallbacksBundle> bundles, ResourceType type, String name)
-
Method Summary
Modifier and Type Method Description final List<ResourceFallbacksBundle>getBundles()final ResourceTypegetType()final StringgetName()LibraryResourcereplaceVariables(Map<String, String> mapping)Replace variables and return the result. -
-
Constructor Detail
-
LibraryResource
LibraryResource(List<ResourceFallbacksBundle> bundles, ResourceType type, String name)
-
-
Method Detail
-
getBundles
final List<ResourceFallbacksBundle> getBundles()
-
getType
final ResourceType getType()
-
replaceVariables
LibraryResource replaceVariables(Map<String, String> mapping)
Replace variables and return the result.
- Parameters:
mapping- maps variables names to their values
-
-
-
-