org.apache.tinkerpop.gremlin

## Annotation Type GraphProvider.Descriptor

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
       @Inherited
      public static @interface GraphProvider.Descriptor

  An annotation to be applied to a `GraphProvider` implementation that provides additional information about its intentions. The `Descriptor` is required by those `GraphProvider` implementations that will be assigned to test suites that use `TraversalEngine.Type.COMPUTER`.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `Class<? extends GraphComputer>` | `computer` The `GraphComputer` implementation that the `GraphProvider` will use when it constructs a `Traversal` with `GraphProvider.traversal(Graph)` or `GraphProvider.traversal(Graph, TraversalStrategy[])`.

- - ### Element Detail

    - #### computer

          public abstract Class<? extends GraphComputer> computer

      The `GraphComputer` implementation that the `GraphProvider` will use when it constructs a `Traversal` with `GraphProvider.traversal(Graph)` or `GraphProvider.traversal(Graph, TraversalStrategy[])`. This value should be null if a `GraphComputer` is not being used.

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.