mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 10:32:00 +01:00
added a getter for the FileTypeAnalyzers to resolve a problem while fixing issue #173
Former-commit-id: 359b9e41a03bd2bd0c9c63e437540bf082c7c92d
This commit is contained in:
@@ -153,6 +153,11 @@ public class Engine {
|
|||||||
return dependencies;
|
return dependencies;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the dependencies.
|
||||||
|
*
|
||||||
|
* @param dependencies the dependencies
|
||||||
|
*/
|
||||||
public void setDependencies(List<Dependency> dependencies) {
|
public void setDependencies(List<Dependency> dependencies) {
|
||||||
this.dependencies = dependencies;
|
this.dependencies = dependencies;
|
||||||
}
|
}
|
||||||
@@ -323,7 +328,7 @@ public class Engine {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
final String msg = String.format("No file extension found on file '%s'. The file was not analyzed.", file.toString());
|
final String msg = String.format("No file extension found on file '%s'. The file was not analyzed.", file.toString());
|
||||||
LOGGER.log(Level.FINEST, msg);
|
LOGGER.log(Level.FINE, msg);
|
||||||
}
|
}
|
||||||
return dependency;
|
return dependency;
|
||||||
}
|
}
|
||||||
@@ -513,6 +518,15 @@ public class Engine {
|
|||||||
return scan;
|
return scan;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the set of file type analyzers.
|
||||||
|
*
|
||||||
|
* @return the set of file type analyzers
|
||||||
|
*/
|
||||||
|
public Set<FileTypeAnalyzer> getFileTypeAnalyzers() {
|
||||||
|
return this.fileTypeAnalyzers;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks the CPE Index to ensure documents exists. If none exist a NoDataException is thrown.
|
* Checks the CPE Index to ensure documents exists. If none exist a NoDataException is thrown.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user