Package org.openrewrite.javascript.rpc
Class JavaScriptRewriteRpc
java.lang.Object
org.openrewrite.rpc.RewriteRpc
org.openrewrite.javascript.rpc.JavaScriptRewriteRpc
- All Implemented Interfaces:
AutoCloseable
public class JavaScriptRewriteRpc
extends org.openrewrite.rpc.RewriteRpc
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JavaScriptRewriteRpc.Builderbuilder(org.openrewrite.config.Environment marketplace) static JavaScriptRewriteRpc.BuilderbundledInstallation(org.openrewrite.config.Environment marketplace) static JavaScriptRewriteRpc.BuilderbundledInstallation(org.openrewrite.config.Environment marketplace, Path installationDirectory) voidclose()static org.openrewrite.internal.ManagedThreadLocal<JavaScriptRewriteRpc> current()intinstallRecipes(File recipes) intinstallRecipes(String packageName) intinstallRecipes(String packageName, @Nullable String version) Methods inherited from class org.openrewrite.rpc.RewriteRpc
batchSize, from, generate, getObject, getRecipes, parse, prepareRecipe, prepareRecipe, print, print, print, scan, scan, send, traceGetObjectInput, traceGetObjectOutput, visit, visit
-
Method Details
-
current
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classorg.openrewrite.rpc.RewriteRpc
-
installRecipes
-
installRecipes
-
installRecipes
-
bundledInstallation
public static JavaScriptRewriteRpc.Builder bundledInstallation(org.openrewrite.config.Environment marketplace) -
bundledInstallation
public static JavaScriptRewriteRpc.Builder bundledInstallation(org.openrewrite.config.Environment marketplace, Path installationDirectory) -
builder
-