org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration

## Class EventStrategy.Builder

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.EventStrategy.Builder

- Enclosing class:
    EventStrategy

      public static final class EventStrategy.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EventStrategy.Builder` | `addListener(MutationListener listener)`
    `EventStrategy` | `create()`
    `EventStrategy.Builder` | `detach(EventStrategy.Detachment detachment)` Configures the method of detachment for element provided in mutation callback events.
    `EventStrategy.Builder` | `eventQueue(EventStrategy.EventQueue eventQueue)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### addListener

          public EventStrategy.Builder addListener(MutationListener listener)

    - #### eventQueue

          public EventStrategy.Builder eventQueue(EventStrategy.EventQueue eventQueue)

    - #### detach

          public EventStrategy.Builder detach(EventStrategy.Detachment detachment)

      Configures the method of detachment for element provided in mutation callback events. The default is `EventStrategy.Detachment.DETACHED_WITH_PROPERTIES`.

    - #### create

          public EventStrategy create()

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