Class EdgeLabelVerificationStrategy

All Implemented Interfaces:
Serializable, Comparable<Class<? extends TraversalStrategy>>, TraversalStrategy<TraversalStrategy.VerificationStrategy>, TraversalStrategy.VerificationStrategy

public final class EdgeLabelVerificationStrategy extends AbstractWarningVerificationStrategy
EdgeLabelVerificationStrategy does 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:
Example:
 __.outE()           // throws an IllegalStateException
 __.out()            // throws an IllegalStateException
 __.bothE()          // throws an IllegalStateException
 __.to(OUT)          // throws an IllegalStateException
 __.toE(IN)          // throws an IllegalStateException