Class AbstractWarningVerificationStrategy
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy>
- 
- org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Class<? extends TraversalStrategy>>,- TraversalStrategy<TraversalStrategy.VerificationStrategy>,- TraversalStrategy.VerificationStrategy
 - Direct Known Subclasses:
- EdgeLabelVerificationStrategy,- ReservedKeysVerificationStrategy
 
 public abstract class AbstractWarningVerificationStrategy extends AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy> implements TraversalStrategy.VerificationStrategy BaseTraversalStrategyclass that is configurable to throw warnings or exceptions.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractWarningVerificationStrategy.Builder<T extends AbstractWarningVerificationStrategy,B extends AbstractWarningVerificationStrategy.Builder>- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategyTraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringLOG_WARNINGprotected booleanlogWarningstatic StringTHROW_EXCEPTIONprotected booleanthrowException- 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategySTRATEGY
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Traversal.Admin<?,?> traversal)org.apache.commons.configuration2.ConfigurationgetConfiguration()Get the configuration representation of this strategy.- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategyequals, hashCode, toString
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategyapplyPost, applyPrior
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.VerificationStrategycompareTo, getTraversalCategory
 
- 
 
- 
- 
- 
Field Detail- 
THROW_EXCEPTIONpublic static final String THROW_EXCEPTION - See Also:
- Constant Field Values
 
 - 
LOG_WARNINGpublic static final String LOG_WARNING - See Also:
- Constant Field Values
 
 - 
throwExceptionprotected final boolean throwException 
 - 
logWarningprotected final boolean logWarning 
 
- 
 - 
Method Detail- 
applypublic void apply(Traversal.Admin<?,?> traversal) - Specified by:
- applyin interface- TraversalStrategy<TraversalStrategy.VerificationStrategy>
 
 - 
getConfigurationpublic org.apache.commons.configuration2.Configuration getConfiguration() Description copied from interface:TraversalStrategyGet the configuration representation of this strategy. This is useful for converting a strategy into a serialized form.- Specified by:
- getConfigurationin interface- TraversalStrategy<TraversalStrategy.VerificationStrategy>
- Returns:
- the configuration used to create this strategy
 
 
- 
 
-