-
- 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>
bundles
private final ResourceType
type
private final String
name
-
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 ResourceType
getType()
final String
getName()
LibraryResource
replaceVariables(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
-
-
-
-