ResolveOptions
Options to the resolve() operation.
NOT the same as the ResolveContext; ResolveContext is exposed to Token implementors and resolution hooks, whereas this struct is just to bundle a number of things that would otherwise be arguments to resolve() in a readable way.
Initializer
import com.aliyun.ros.cdk.core.ResolveOptions;
ResolveOptions.builder()
.resolver(ITokenResolver)
.scope(IConstruct)
// .preparing(java.lang.Boolean)
.build();
Properties
Name | Type | Description |
---|---|---|
resolver |
ITokenResolver |
The resolver to apply to any resolvable tokens found. |
scope |
IConstruct |
The scope from which resolution is performed. |
preparing |
java.lang.Boolean |
Whether the resolution is being executed during the prepare phase or not. |
resolver
Required
public ITokenResolver getResolver();
- Type: ITokenResolver
The resolver to apply to any resolvable tokens found.
scope
Required
public IConstruct getScope();
- Type: IConstruct
The scope from which resolution is performed.
preparing
Optional
public java.lang.Boolean getPreparing();
- Type: java.lang.Boolean
- Default: false
Whether the resolution is being executed during the prepare phase or not.