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 Description ListCallbackRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCallback(EventCallback<E> c)
void
clearCallbacks()
List<EventCallback<E>>
getCallbacks()
void
removeCallback(EventCallback<E> c)
-
-
-
Method Detail
-
addCallback
public void addCallback(EventCallback<E> c)
- Specified by:
addCallback
in interfaceCallbackRegistry<E extends Event>
-
removeCallback
public void removeCallback(EventCallback<E> c)
- Specified by:
removeCallback
in interfaceCallbackRegistry<E extends Event>
-
clearCallbacks
public void clearCallbacks()
- Specified by:
clearCallbacks
in interfaceCallbackRegistry<E extends Event>
-
getCallbacks
public List<EventCallback<E>> getCallbacks()
- Specified by:
getCallbacks
in interfaceCallbackRegistry<E extends Event>
-
-