public class YarnDependencyCollector extends NpmLsJsonDependencyCollector
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AT |
protected static String |
DEV_DEPENDENCIES |
protected static String |
NODE_MODULES |
protected static String |
OPTIONAL_DEPENDENCIES |
protected static String |
PACKAGE_JSON |
protected static String |
RESOLVED |
protected static String |
SUCCESS |
protected static String |
TGZ |
ignoreNpmLsErrors, includeDevDependencies, LS_COMMAND, LS_PARAMETER_JSON, npmLsFailureStatus, npmTimeoutDependenciesCollector, PEER_MISSINGC_CHAR_WINDOWS| Constructor and Description |
|---|
YarnDependencyCollector(boolean includeDevDependencies,
long npmTimeoutDependenciesCollector,
boolean ignoreNpmLsErrors,
boolean ignoreScripts) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.whitesource.agent.api.model.AgentProjectInfo> |
collectDependencies(String folder) |
boolean |
executePreparationStep(String folder) |
protected String[] |
getInstallParams() |
getDependencies, getDependency, getLsCommandParams, getLsCommandParamsJson, getNpmLsFailureStatusgetSingleProjectList, isWindowsprotected static final String SUCCESS
protected static final String RESOLVED
protected static final String TGZ
protected static final String OPTIONAL_DEPENDENCIES
protected static final String AT
protected static final String NODE_MODULES
protected static final String PACKAGE_JSON
protected static final String DEV_DEPENDENCIES
public YarnDependencyCollector(boolean includeDevDependencies,
long npmTimeoutDependenciesCollector,
boolean ignoreNpmLsErrors,
boolean ignoreScripts)
public Collection<org.whitesource.agent.api.model.AgentProjectInfo> collectDependencies(String folder)
collectDependencies in class NpmLsJsonDependencyCollectorprotected String[] getInstallParams()
getInstallParams in class NpmLsJsonDependencyCollectorpublic boolean executePreparationStep(String folder)
executePreparationStep in class NpmLsJsonDependencyCollectorCopyright © 2014–2020 Checkmarx. All rights reserved.