Interface DependencyResolver.Factory
- Enclosing interface:
- DependencyResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Responsible for creating a
DependencyResolver
for the CLI,
optionally based on configuration.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SmithyBuildConfig config, Command.Env env) Creates aDependencyResolver
.
-
Method Details
-
create
Creates aDependencyResolver
.- Parameters:
config
- smithy-build.json configuration that can be used to configure the resolver.env
- Command environment, including stderr and stdout printers.- Returns:
- Returns the created resolver.
-