Class AbstractWqlCriterion
java.lang.Object
org.sentrysoftware.maven.metricshub.connector.producer.model.criteria.AbstractCriterion
org.sentrysoftware.maven.metricshub.connector.producer.model.criteria.AbstractWqlCriterion
- Direct Known Subclasses:
WbemCriterion
,WmiCriterion
This class extends
AbstractCriterion
and provides common
functionality for WQL-related criteria.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetNamespaceOrDefault
(String defaultValue) Gets the namespace from the current WQL criterion, or default value if not present.getQuery()
Gets the query from the current WQL criterion, ornull
if not present.Methods inherited from class org.sentrysoftware.maven.metricshub.connector.producer.model.criteria.AbstractCriterion
accept
-
Method Details
-
getNamespaceOrDefault
Gets the namespace from the current WQL criterion, or default value if not present.- Parameters:
defaultValue
- The default value to return if the value is not present.- Returns:
- The namespace from the criterion, or default value if not present.
-
getQuery
Gets the query from the current WQL criterion, ornull
if not present.- Returns:
- The query from the criterion, or
null
if not present.
-