public abstract class NodeUpdater extends Object implements FallibleCommand
For internal use only. May be renamed or removed in a future release.
Modifier and Type | Field and Description |
---|---|
protected String |
buildDir |
protected static String |
DEP_NAME_FLOW_DEPS |
protected static String |
DEP_NAME_FLOW_JARS |
protected static String |
DEP_NAME_FORM_JARS |
protected File |
flowResourcesFolder
Base directory for flow dependencies coming from jars.
|
protected File |
formResourcesFolder
Base directory for form dependencies coming from jars.
|
protected FrontendDependenciesScanner |
frontDeps
The
FrontendDependencies object representing the application
dependencies. |
static String |
GENERATED_PREFIX
Relative paths of generated should be prefixed with this value, so they
can be correctly separated from {projectDir}/frontend files.
|
protected File |
generatedFolder
Base directory for flow generated files.
|
protected File |
nodeModulesFolder
The path to the
FrontendUtils.NODE_MODULES directory. |
protected File |
npmFolder
Base directory for
Constants.PACKAGE_JSON ,
FrontendUtils.WEBPACK_CONFIG , FrontendUtils.NODE_MODULES . |
protected static String |
POLYMER_VERSION |
Modifier | Constructor and Description |
---|---|
protected |
NodeUpdater(ClassFinder finder,
FrontendDependenciesScanner frontendDependencies,
File npmFolder,
File generatedPath,
File flowResourcesPath,
String buildDir)
Constructor.
|
public static final String GENERATED_PREFIX
protected static final String DEP_NAME_FLOW_DEPS
protected static final String DEP_NAME_FLOW_JARS
protected static final String DEP_NAME_FORM_JARS
protected static final String POLYMER_VERSION
protected final File npmFolder
Constants.PACKAGE_JSON
,
FrontendUtils.WEBPACK_CONFIG
, FrontendUtils.NODE_MODULES
.protected final File nodeModulesFolder
FrontendUtils.NODE_MODULES
directory.protected final File generatedFolder
protected final File flowResourcesFolder
protected final File formResourcesFolder
protected final FrontendDependenciesScanner frontDeps
FrontendDependencies
object representing the application
dependencies.protected String buildDir
protected NodeUpdater(ClassFinder finder, FrontendDependenciesScanner frontendDependencies, File npmFolder, File generatedPath, File flowResourcesPath, String buildDir)
finder
- a reusable class finderfrontendDependencies
- a reusable frontend dependenciesnpmFolder
- folder with the `package.json` filegeneratedPath
- folder where flow generated files will be placed.flowResourcesPath
- folder where flow dependencies will be copied to.buildDir
- the used build directoryCopyright © 2021. All rights reserved.