public class NodeExecutorConfigLocal extends Object implements com.github.eirslett.maven.plugins.frontend.lib.NodeExecutorConfig
DefaultGulpRunnerLocal.
It specifies where node and npm are installed and the installation and
working directory.| Constructor and Description |
|---|
NodeExecutorConfigLocal(File nodePath,
File npmPath,
File installDirectory,
File workingDirectory)
Creates the configuration for a
NodeExecutor. |
| Modifier and Type | Method and Description |
|---|---|
File |
getInstallDirectory()
Gets the installation directory.
|
File |
getNodePath()
Gets the file where node is installed.
|
File |
getNpmPath()
Gets the filed in which npm is installed.
|
com.github.eirslett.maven.plugins.frontend.lib.Platform |
getPlatform()
Get the platform in which the plugin is executed.
|
File |
getWorkingDirectory()
Gets the working directory.
|
public NodeExecutorConfigLocal(File nodePath, File npmPath, File installDirectory, File workingDirectory)
NodeExecutor.nodePath - file where node is locatednpmPath - file where npm is locatedinstallDirectory - installation directoryworkingDirectory - working directorypublic File getNodePath()
getNodePath in interface com.github.eirslett.maven.plugins.frontend.lib.NodeExecutorConfigpublic File getNpmPath()
getNpmPath in interface com.github.eirslett.maven.plugins.frontend.lib.NodeExecutorConfigpublic File getInstallDirectory()
getInstallDirectory in interface com.github.eirslett.maven.plugins.frontend.lib.NodeExecutorConfigpublic File getWorkingDirectory()
getWorkingDirectory in interface com.github.eirslett.maven.plugins.frontend.lib.NodeExecutorConfigpublic com.github.eirslett.maven.plugins.frontend.lib.Platform getPlatform()
getPlatform in interface com.github.eirslett.maven.plugins.frontend.lib.NodeExecutorConfigCopyright © 2000–2022 Vaadin Ltd. All rights reserved.