public class FileSystemScanner extends Object
DependencyInfos.| Constructor and Description |
|---|
FileSystemScanner(ResolverConfiguration resolver,
AgentConfiguration agentConfiguration,
boolean enableImpactAnalysis) |
FileSystemScanner(ResolverConfiguration resolver,
AgentConfiguration agentConfiguration,
boolean enableImpactAnalysis,
ViaLanguage iaLanguage) |
| Modifier and Type | Method and Description |
|---|---|
Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> |
createProjects(List<String> scannerBaseDirs,
boolean hasScmConnector) |
Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> |
createProjects(List<String> scannerBaseDirs,
boolean scmConnector,
String[] includes,
String[] excludes,
boolean globCaseSensitive,
int archiveExtractionDepth,
String[] archiveIncludes,
String[] archiveExcludes,
boolean archiveFastUnpack,
boolean followSymlinks,
Collection<String> excludedCopyrights,
boolean partialSha1Match,
boolean calculateHints,
boolean calculateMd5,
String[] pythonRequirementsFileIncludes) |
List<org.whitesource.agent.api.model.DependencyInfo> |
createProjects(List<String> scannerBaseDirs,
boolean scmConnector,
String[] includes,
String[] excludes,
boolean globCaseSensitive,
int archiveExtractionDepth,
String[] archiveIncludes,
String[] archiveExcludes,
boolean archiveFastUnpack,
boolean followSymlinks,
Collection<String> excludedCopyrights,
boolean partialSha1Match,
String[] pythonRequirementsFileIncludes) |
Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> |
createProjects(List<String> scannerBaseDirs,
Map<String,Set<String>> appPathsToDependencyDirs,
boolean hasScmConnector) |
Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> |
createProjects(List<String> scannerBaseDirs,
Map<String,Set<String>> appPathsToDependencyDirs,
boolean scmConnector,
String[] includes,
String[] excludes,
boolean globCaseSensitive,
int archiveExtractionDepth,
String[] archiveIncludes,
String[] archiveExcludes,
boolean archiveFastUnpack,
boolean followSymlinks,
Collection<String> excludedCopyrights,
boolean partialSha1Match,
boolean calculateHints,
boolean calculateMd5,
String[] pythonRequirementsFileIncludes) |
List<org.whitesource.agent.api.model.DependencyInfo> |
createProjects(List<String> scannerBaseDirs,
Map<String,Set<String>> appPathsToDependencyDirs,
boolean scmConnector,
String[] includes,
String[] excludes,
boolean globCaseSensitive,
int archiveExtractionDepth,
String[] archiveIncludes,
String[] archiveExcludes,
boolean archiveFastUnpack,
boolean followSymlinks,
Collection<String> excludedCopyrights,
boolean partialSha1Match,
String[] pythonRequirementsFileIncludes)
This method is usually called from outside by different other tools
|
public FileSystemScanner(ResolverConfiguration resolver, AgentConfiguration agentConfiguration, boolean enableImpactAnalysis)
public FileSystemScanner(ResolverConfiguration resolver, AgentConfiguration agentConfiguration, boolean enableImpactAnalysis, ViaLanguage iaLanguage)
public List<org.whitesource.agent.api.model.DependencyInfo> createProjects(List<String> scannerBaseDirs, Map<String,Set<String>> appPathsToDependencyDirs, boolean scmConnector, String[] includes, String[] excludes, boolean globCaseSensitive, int archiveExtractionDepth, String[] archiveIncludes, String[] archiveExcludes, boolean archiveFastUnpack, boolean followSymlinks, Collection<String> excludedCopyrights, boolean partialSha1Match, String[] pythonRequirementsFileIncludes)
scannerBaseDirs - folders to scanscmConnector - use scmConnectorincludes - includes glob patternsexcludes - excludes glob patternsglobCaseSensitive - global case sensitivearchiveExtractionDepth - depth of recursive extractionarchiveIncludes - includes glob patterns for extractionarchiveExcludes - exclude glob patterns for extractionarchiveFastUnpack - use fast extractionfollowSymlinks - use followSymlinksexcludedCopyrights - use excludedCopyrightspartialSha1Match - use partialSha1Matchpublic List<org.whitesource.agent.api.model.DependencyInfo> createProjects(List<String> scannerBaseDirs, boolean scmConnector, String[] includes, String[] excludes, boolean globCaseSensitive, int archiveExtractionDepth, String[] archiveIncludes, String[] archiveExcludes, boolean archiveFastUnpack, boolean followSymlinks, Collection<String> excludedCopyrights, boolean partialSha1Match, String[] pythonRequirementsFileIncludes)
public Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> createProjects(List<String> scannerBaseDirs, boolean hasScmConnector)
public Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> createProjects(List<String> scannerBaseDirs, Map<String,Set<String>> appPathsToDependencyDirs, boolean hasScmConnector)
public Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> createProjects(List<String> scannerBaseDirs, boolean scmConnector, String[] includes, String[] excludes, boolean globCaseSensitive, int archiveExtractionDepth, String[] archiveIncludes, String[] archiveExcludes, boolean archiveFastUnpack, boolean followSymlinks, Collection<String> excludedCopyrights, boolean partialSha1Match, boolean calculateHints, boolean calculateMd5, String[] pythonRequirementsFileIncludes)
public Map<org.whitesource.agent.api.model.AgentProjectInfo,LinkedList<ViaComponents>> createProjects(List<String> scannerBaseDirs, Map<String,Set<String>> appPathsToDependencyDirs, boolean scmConnector, String[] includes, String[] excludes, boolean globCaseSensitive, int archiveExtractionDepth, String[] archiveIncludes, String[] archiveExcludes, boolean archiveFastUnpack, boolean followSymlinks, Collection<String> excludedCopyrights, boolean partialSha1Match, boolean calculateHints, boolean calculateMd5, String[] pythonRequirementsFileIncludes)
Copyright © 2014–2020 Checkmarx. All rights reserved.