org.apache.tinkerpop.gremlin.process.traversal.step.util.event

## Class ListCallbackRegistry<E extends Event>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.step.util.event.ListCallbackRegistry<E>

- All Implemented Interfaces:
    CallbackRegistry<E>

      public class ListCallbackRegistry<E extends Event>
      extends Object
      implements CallbackRegistry<E>

  Author:
    Stephen Mallette (http://stephen.genoprime.com), Matt Frantz (http://github.com/mhfrantz)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListCallbackRegistry()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCallback(EventCallback<E> c)`
    `void` | `clearCallbacks()`
    `List<EventCallback<E>>` | `getCallbacks()`
    `void` | `removeCallback(EventCallback<E> c)`

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

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

- - ### Constructor Detail

    - #### ListCallbackRegistry

          public ListCallbackRegistry()

  - ### Method Detail

    - #### addCallback

          public void addCallback(EventCallback<E> c)

      Specified by:
        `addCallback` in interface `CallbackRegistry<E extends Event>`

    - #### removeCallback

          public void removeCallback(EventCallback<E> c)

      Specified by:
        `removeCallback` in interface `CallbackRegistry<E extends Event>`

    - #### clearCallbacks

          public void clearCallbacks()

      Specified by:
        `clearCallbacks` in interface `CallbackRegistry<E extends Event>`

    - #### getCallbacks

          public List<EventCallback<E>> getCallbacks()

      Specified by:
        `getCallbacks` in interface `CallbackRegistry<E extends Event>`

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