mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-27 19:41:38 +01:00
updated javadoc
Former-commit-id: 7b00991a0cf90ca34c8c54b8297014b01e676b04
This commit is contained in:
@@ -52,6 +52,9 @@ public class CentralAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
*/
|
*/
|
||||||
private CentralSearch searcher;
|
private CentralSearch searcher;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Field indicating if the analyzer is enabled.
|
||||||
|
*/
|
||||||
private boolean enabled = checkEnabled();
|
private boolean enabled = checkEnabled();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -64,6 +67,11 @@ public class CentralAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
return enabled;
|
return enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determines if this analyzer is enabled
|
||||||
|
*
|
||||||
|
* @return <code>true</code> if the analyzer is enabled; otherwise <code>false</code>
|
||||||
|
*/
|
||||||
private boolean checkEnabled() {
|
private boolean checkEnabled() {
|
||||||
boolean retval = false;
|
boolean retval = false;
|
||||||
|
|
||||||
|
|||||||
@@ -79,8 +79,16 @@ public class NexusAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
*/
|
*/
|
||||||
private NexusSearch searcher;
|
private NexusSearch searcher;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Field indicating if the analyzer is enabled.
|
||||||
|
*/
|
||||||
private boolean enabled = checkEnabled();
|
private boolean enabled = checkEnabled();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determines if this analyzer is enabled
|
||||||
|
*
|
||||||
|
* @return <code>true</code> if the analyzer is enabled; otherwise <code>false</code>
|
||||||
|
*/
|
||||||
private boolean checkEnabled() {
|
private boolean checkEnabled() {
|
||||||
/* Enable this analyzer ONLY if the Nexus URL has been set to something
|
/* Enable this analyzer ONLY if the Nexus URL has been set to something
|
||||||
other than the default one (if it's the default one, we'll use the
|
other than the default one (if it's the default one, we'll use the
|
||||||
|
|||||||
Reference in New Issue
Block a user