public abstract class AbstractFindCommandSniffer
extends info.magnolia.periscope.sniff.PatternCommandSniffer
JCR-SQL2
and returning a request
as a OperationResult
.
Implementors of this sniff should override buildQuery(String)
method in order to execute different
JCR-SQL2
queries.Constructor and Description |
---|
AbstractFindCommandSniffer(LocationController locationController,
PeriscopeAppDetailCreator periscopeAppDetailCreator,
Pattern commandPattern) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
buildQuery(String content) |
protected info.magnolia.periscope.operation.OperationResult |
execute(Matcher matcher) |
protected Pattern |
getPattern() |
public AbstractFindCommandSniffer(LocationController locationController, PeriscopeAppDetailCreator periscopeAppDetailCreator, Pattern commandPattern)
protected Pattern getPattern()
getPattern
in class info.magnolia.periscope.sniff.PatternCommandSniffer
protected info.magnolia.periscope.operation.OperationResult execute(Matcher matcher)
execute
in class info.magnolia.periscope.sniff.PatternCommandSniffer
Copyright © 2018 Magnolia International Ltd.. All rights reserved.