public static class FrontendStubs.ToolStubBuilder extends Object
FrontendStubs.ToolStubInfo.| Modifier and Type | Method and Description |
|---|---|
FrontendStubs.ToolStubInfo |
build()
Builds a new instance of tool stub info.
|
FrontendStubs.ToolStubBuilder |
withCacheDir(String cacheDir)
Adds a stub for npm cache directory.
|
FrontendStubs.ToolStubBuilder |
withVersion(String version)
Adds a stub for tool version.
|
public FrontendStubs.ToolStubBuilder withVersion(String version)
version - a tool version to stub.public FrontendStubs.ToolStubBuilder withCacheDir(String cacheDir)
cacheDir - a npm cache dir to stub.public FrontendStubs.ToolStubInfo build()
Copyright © 2000–2023 Vaadin Ltd. All rights reserved.