public interface SciJavaDependencyChecker
extends org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor
DependencyNodeVisitor with convenience methods for logging and
configuration.| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message) |
void |
error(String message) |
boolean |
failed() |
void |
info(String message) |
boolean |
isFailFast() |
boolean |
isRoot(org.apache.maven.shared.dependency.tree.DependencyNode node)
Convenience method to check if a node is a root.
|
String |
makeExceptionMessage() |
boolean |
matches(String groupId) |
void |
setFailed()
Mark this checker as in a failing state.
|
void |
setFailFast(boolean failFast) |
void |
setGroupIds(Set<String> groupIds) |
void |
setLog(org.apache.maven.plugin.logging.Log log) |
boolean |
stopVisit() |
void setLog(org.apache.maven.plugin.logging.Log log)
log - Log to use by the debug(java.lang.String), error(java.lang.String) and
info(java.lang.String) methods.void debug(String message)
message - Prints to the current Log's debug output, if a log
is present.void error(String message)
message - Prints to the current Log's error output, if a log
is present.void info(String message)
message - Prints to the current Log's info output, if a log is
present.void setGroupIds(Set<String> groupIds)
groupIds - An optional inclusive list of Maven groupIds. If not null,
implementations should only fail on artifacts whose groupIds are
contained in this set.boolean matches(String groupId)
groupId - Maven groupId to test.void setFailFast(boolean failFast)
failFast - Flag indicating if a checker implementation should continue
after encountering its first error.boolean isFailFast()
boolean isRoot(org.apache.maven.shared.dependency.tree.DependencyNode node)
node - DependencyNode to test.void setFailed()
boolean failed()
boolean stopVisit()
String makeExceptionMessage()
Copyright © 2014–2020 SciJava. All rights reserved.