updated javadoc

Former-commit-id: 7b00991a0cf90ca34c8c54b8297014b01e676b04
This commit is contained in:
Jeremy Long
2014-11-11 15:13:01 -05:00
parent 89ab382a18
commit 5ca5bca3df
2 changed files with 16 additions and 0 deletions

View File

@@ -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;

View File

@@ -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