mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 09:09:31 +01:00
exposing hints file through ant configuration as setHintsFile
This commit is contained in:
@@ -346,6 +346,28 @@ public class Check extends Update {
|
|||||||
public void setSuppressionFile(String suppressionFile) {
|
public void setSuppressionFile(String suppressionFile) {
|
||||||
this.suppressionFile = suppressionFile;
|
this.suppressionFile = suppressionFile;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* The path to the suppression file.
|
||||||
|
*/
|
||||||
|
private String hintsFile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the value of hintsFile.
|
||||||
|
*
|
||||||
|
* @return the value of hintsFile
|
||||||
|
*/
|
||||||
|
public String getHintsFile() {
|
||||||
|
return hintsFile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of hintsFile.
|
||||||
|
*
|
||||||
|
* @param hintsFile new value of hintsFile
|
||||||
|
*/
|
||||||
|
public void setHintsFile(String hintsFile) {
|
||||||
|
this.hintsFile = hintsFile;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* flag indicating whether or not to show a summary of findings.
|
* flag indicating whether or not to show a summary of findings.
|
||||||
*/
|
*/
|
||||||
@@ -904,6 +926,7 @@ public class Check extends Update {
|
|||||||
super.populateSettings();
|
super.populateSettings();
|
||||||
Settings.setBooleanIfNotNull(Settings.KEYS.AUTO_UPDATE, autoUpdate);
|
Settings.setBooleanIfNotNull(Settings.KEYS.AUTO_UPDATE, autoUpdate);
|
||||||
Settings.setStringIfNotEmpty(Settings.KEYS.SUPPRESSION_FILE, suppressionFile);
|
Settings.setStringIfNotEmpty(Settings.KEYS.SUPPRESSION_FILE, suppressionFile);
|
||||||
|
Settings.setStringIfNotEmpty(Settings.KEYS.HINTS_FILE, hintsFile);
|
||||||
Settings.setBooleanIfNotNull(Settings.KEYS.ANALYZER_EXPERIMENTAL_ENABLED, enableExperimental);
|
Settings.setBooleanIfNotNull(Settings.KEYS.ANALYZER_EXPERIMENTAL_ENABLED, enableExperimental);
|
||||||
Settings.setBooleanIfNotNull(Settings.KEYS.ANALYZER_JAR_ENABLED, jarAnalyzerEnabled);
|
Settings.setBooleanIfNotNull(Settings.KEYS.ANALYZER_JAR_ENABLED, jarAnalyzerEnabled);
|
||||||
Settings.setBooleanIfNotNull(Settings.KEYS.ANALYZER_PYTHON_DISTRIBUTION_ENABLED, pyDistributionAnalyzerEnabled);
|
Settings.setBooleanIfNotNull(Settings.KEYS.ANALYZER_PYTHON_DISTRIBUTION_ENABLED, pyDistributionAnalyzerEnabled);
|
||||||
|
|||||||
Reference in New Issue
Block a user