public abstract class AbstractWarningVerificationStrategy extends AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy> implements TraversalStrategy.VerificationStrategy
TraversalStrategy
class that is configurable to throw warnings or exceptions.Modifier and Type | Class and Description |
---|---|
static class |
AbstractWarningVerificationStrategy.Builder<T extends AbstractWarningVerificationStrategy,B extends AbstractWarningVerificationStrategy.Builder> |
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
Modifier and Type | Field and Description |
---|---|
static String |
LOG_WARNING |
protected boolean |
logWarning |
static String |
THROW_EXCEPTION |
protected boolean |
throwException |
STRATEGY
Modifier and Type | Method and Description |
---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
org.apache.commons.configuration2.Configuration |
getConfiguration()
Get the configuration representation of this strategy.
|
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, applyPrior
public static final String THROW_EXCEPTION
public static final String LOG_WARNING
protected final boolean throwException
protected final boolean logWarning
public void apply(Traversal.Admin<?,?> traversal)
apply
in interface TraversalStrategy<TraversalStrategy.VerificationStrategy>
public org.apache.commons.configuration2.Configuration getConfiguration()
TraversalStrategy
getConfiguration
in interface TraversalStrategy<TraversalStrategy.VerificationStrategy>
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.