Package software.amazon.awscdk.core
Class DefaultTokenResolver
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.DefaultTokenResolver
- All Implemented Interfaces:
ITokenResolver
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.019Z")
@Stability(Stable)
public class DefaultTokenResolver
extends software.amazon.jsii.JsiiObject
implements ITokenResolver
Default resolver implementation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; IFragmentConcatenator fragmentConcatenator; DefaultTokenResolver defaultTokenResolver = new DefaultTokenResolver(fragmentConcatenator);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.ITokenResolver
ITokenResolver.Jsii$Default, ITokenResolver.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
DefaultTokenResolver
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DefaultTokenResolver
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionresolveList
(List<String> xs, IResolveContext context) Resolve a tokenized list.resolveString
(TokenizedStringFragments fragments, IResolveContext context) Resolve string fragments to Tokens.resolveToken
(IResolvable t, IResolveContext context, IPostProcessor postProcessor) Default Token resolution.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DefaultTokenResolver
protected DefaultTokenResolver(software.amazon.jsii.JsiiObjectRef objRef) -
DefaultTokenResolver
protected DefaultTokenResolver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DefaultTokenResolver
- Parameters:
concat
- This parameter is required.
-
-
Method Details
-
resolveList
@Stability(Stable) @NotNull public Object resolveList(@NotNull List<String> xs, @NotNull IResolveContext context) Resolve a tokenized list.- Specified by:
resolveList
in interfaceITokenResolver
- Parameters:
xs
- This parameter is required.context
- This parameter is required.
-
resolveString
@Stability(Stable) @NotNull public Object resolveString(@NotNull TokenizedStringFragments fragments, @NotNull IResolveContext context) Resolve string fragments to Tokens.- Specified by:
resolveString
in interfaceITokenResolver
- Parameters:
fragments
- This parameter is required.context
- This parameter is required.
-
resolveToken
@Stability(Stable) @NotNull public Object resolveToken(@NotNull IResolvable t, @NotNull IResolveContext context, @NotNull IPostProcessor postProcessor) Default Token resolution.Resolve the Token, recurse into whatever it returns, then finally post-process it.
- Specified by:
resolveToken
in interfaceITokenResolver
- Parameters:
t
- This parameter is required.context
- This parameter is required.postProcessor
- This parameter is required.
-