public class DotNetRestoreCollector extends DependencyCollector
| Modifier and Type | Field and Description |
|---|---|
static String |
BACK_SLASH |
static String |
DOT_NET_RESTORE_WS |
static String |
DOTNET_COMMAND |
static String |
DOTNET_RESTORE_TMP_DIRECTORY |
static String |
NUPKG |
static String |
PACKAGES |
static String |
RESTORE |
C_CHAR_WINDOWS| Constructor and Description |
|---|
DotNetRestoreCollector() |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.whitesource.agent.api.model.AgentProjectInfo> |
collectDependencies(String rootDirectory) |
void |
executeDotNetRestore(String folder,
Set<String> csprojFiles) |
protected String[] |
getInstallParams(String pathToDownloadPackages,
String csprojFile) |
getSingleProjectList, isWindowspublic static final String DOTNET_RESTORE_TMP_DIRECTORY
public static final String DOTNET_COMMAND
public static final String RESTORE
public static final String PACKAGES
public static final String DOT_NET_RESTORE_WS
public static final String NUPKG
public static final String BACK_SLASH
public Collection<org.whitesource.agent.api.model.AgentProjectInfo> collectDependencies(String rootDirectory)
collectDependencies in class DependencyCollectorpublic void executeDotNetRestore(String folder, Set<String> csprojFiles)
folder - - top foldercsprojFiles - - paths to csproj files
Get all paths to collect dependencies after executing 'dotnet restore'Copyright © 2014–2020 Checkmarx. All rights reserved.