We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.copilot.
Package com.vaadin.copilot
Class HotswapAgentDownloader
java.lang.Object
com.vaadin.copilot.HotswapAgentDownloader
A class for downloading the Hotswap Agent JAR file.
-
Constructor Summary
ConstructorsConstructorDescriptionHotswapAgentDownloader
(ProjectManager projectManager) Creates a new downloader for Hotswap Agent.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
downloadHotswapAgent
(File target, Consumer<String> statusUpdater) Downloads the Hotswap Agent JAR file into the given target file.
-
Constructor Details
-
HotswapAgentDownloader
Creates a new downloader for Hotswap Agent.
Parameters:
projectManager
- the project manager to use
-
-
Method Details
-
downloadHotswapAgent
public void downloadHotswapAgent(File target, Consumer<String> statusUpdater) throws MalformedURLException, DownloadException, URISyntaxException Downloads the Hotswap Agent JAR file into the given target file.
Parameters:
target
- the target filestatusUpdater
- a consumer that will be called with status updatesThrows:
-