Package com.vaadin.flow.plugin.base
Class ConvertPolymerCommand
java.lang.Object
com.vaadin.flow.plugin.base.ConvertPolymerCommand
- All Implemented Interfaces:
AutoCloseable
A tool-independent implementation of a
convert-polymer command that
converts Polymer-based source files to Lit. The command is supposed to be
called by the corresponding Mojo and Gradle tasks.-
Constructor Summary
ConstructorsConstructorDescriptionConvertPolymerCommand(PluginAdapterBase adapter, String path, boolean useLit1, boolean disableOptionalChaining) -
Method Summary
-
Constructor Details
-
ConvertPolymerCommand
public ConvertPolymerCommand(PluginAdapterBase adapter, String path, boolean useLit1, boolean disableOptionalChaining) throws URISyntaxException, IOException - Throws:
URISyntaxExceptionIOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
execute
public void execute() throws IOException, InterruptedException, FrontendUtils.CommandExecutionException
-