mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-11 21:05:38 +01:00
Add support for extra extensions provided externally
Former-commit-id: c827feb563cde449090dade2b17bfa6709df37be
This commit is contained in:
@@ -95,6 +95,14 @@ public class ArchiveAnalyzer extends AbstractAnalyzer implements Analyzer {
|
||||
EXTENSIONS.addAll(ZIPPABLES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a list of file EXTENSIONS to be supported by this analyzer.
|
||||
*
|
||||
*/
|
||||
public void addSupportedExtensions(Set<String> extraExtensions) {
|
||||
EXTENSIONS.addAll(extraExtensions);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of file EXTENSIONS supported by this analyzer.
|
||||
*
|
||||
|
||||
@@ -149,6 +149,10 @@ public final class Settings {
|
||||
* The path to mono, if available.
|
||||
*/
|
||||
public static final String ANALYZER_ASSEMBLY_MONO_PATH = "analyzer.assembly.mono.path";
|
||||
/**
|
||||
* The extra extensions, if available.
|
||||
*/
|
||||
public static final String EXTRA_EXTENSIONS = "extra.extensions";
|
||||
}
|
||||
/**
|
||||
* The properties file location.
|
||||
|
||||
Reference in New Issue
Block a user