Package org.apache.tinkerpop.gremlin
Class GraphManager
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.GraphManager
-
public class GraphManager extends Object
Holds objects specified by the test suites supplying them in a static manner to the test cases.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphManager.ManagedGraphProvider
This class provides a way to intercepts calls toGraph
implementation'sGraphProvider
instances.
-
Constructor Summary
Constructors Constructor Description GraphManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GraphProvider
getGraphProvider()
Gets theGraphProvider
from the current test suite and wraps it in aGraphManager.ManagedGraphProvider
.static TraversalEngine.Type
getTraversalEngineType()
static GraphProvider
setGraphProvider(GraphProvider graphProvider)
static TraversalEngine.Type
setTraversalEngineType(TraversalEngine.Type traversalEngine)
-
-
-
Method Detail
-
setGraphProvider
public static GraphProvider setGraphProvider(GraphProvider graphProvider)
-
getGraphProvider
public static GraphProvider getGraphProvider()
Gets theGraphProvider
from the current test suite and wraps it in aGraphManager.ManagedGraphProvider
.
-
setTraversalEngineType
public static TraversalEngine.Type setTraversalEngineType(TraversalEngine.Type traversalEngine)
-
getTraversalEngineType
public static TraversalEngine.Type getTraversalEngineType()
-
-