Class EdgeLabelVerificationStrategy
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy>
 - 
- org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
 - 
- org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.EdgeLabelVerificationStrategy
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparable<Class<? extends TraversalStrategy>>,TraversalStrategy<TraversalStrategy.VerificationStrategy>,TraversalStrategy.VerificationStrategy
public final class EdgeLabelVerificationStrategy extends AbstractWarningVerificationStrategy
EdgeLabelVerificationStrategydoes not allow edge traversal steps to have no label specified. Providing one or more labels is considered to be a best practice, however, TinkerPop will not force the specification of edge labels; instead, providers or users will have to enable this strategy explicitly.- Author:
 - Daniel Kuppitz (http://gremlin.guru)
 - See Also:
 - Serialized Form
 - Example:
 __.outE() // throws an IllegalStateException __.out() // throws an IllegalStateException __.bothE() // throws an IllegalStateException __.to(OUT) // throws an IllegalStateException __.toE(IN) // throws an IllegalStateException
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEdgeLabelVerificationStrategy.Builder- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy 
 - 
 
- 
Field Summary
- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
LOG_WARNING, logWarning, THROW_EXCEPTION, throwException 
- 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
STRATEGY 
 - 
 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EdgeLabelVerificationStrategy.Builderbuild()static EdgeLabelVerificationStrategycreate(org.apache.commons.configuration2.Configuration configuration)- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
apply, getConfiguration 
- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy
equals, hashCode, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
applyPost, applyPrior 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.VerificationStrategy
compareTo, getTraversalCategory 
 - 
 
 - 
 
- 
- 
Method Detail
- 
create
public static EdgeLabelVerificationStrategy create(org.apache.commons.configuration2.Configuration configuration)
 
- 
build
public static EdgeLabelVerificationStrategy.Builder build()
 
 - 
 
 -