public static class GremlinExecutor.LifeCycle.Builder extends Object
| Constructor and Description | 
|---|
| Builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| GremlinExecutor.LifeCycle.Builder | afterFailure(BiConsumer<Bindings,Throwable> afterFailure)Specifies the function to execute if the script evaluation fails. | 
| GremlinExecutor.LifeCycle.Builder | afterSuccess(Consumer<Bindings> afterSuccess)Specifies the function to execute after result transformations. | 
| GremlinExecutor.LifeCycle.Builder | afterTimeout(Consumer<Bindings> afterTimeout)Specifies the function to execute if the script evaluation times out. | 
| GremlinExecutor.LifeCycle.Builder | beforeEval(Consumer<Bindings> beforeEval)Specifies the function to execute prior to the script being evaluated. | 
| GremlinExecutor.LifeCycle | create() | 
| GremlinExecutor.LifeCycle.Builder | transformResult(Function<Object,Object> transformResult)Specifies the function to execute on the result of the script evaluation just after script evaluation
 returns but before the script evaluation is marked as complete. | 
| GremlinExecutor.LifeCycle.Builder | withResult(Consumer<Object> withResult)Specifies the function to execute on the result of the script evaluation just after script evaluation
 returns but after the script evaluation is marked as complete. | 
public GremlinExecutor.LifeCycle.Builder beforeEval(Consumer<Bindings> beforeEval)
GremlinExecutor.Builder.beforeEval(Consumer).public GremlinExecutor.LifeCycle.Builder transformResult(Function<Object,Object> transformResult)
public GremlinExecutor.LifeCycle.Builder withResult(Consumer<Object> withResult)
public GremlinExecutor.LifeCycle.Builder afterSuccess(Consumer<Bindings> afterSuccess)
GremlinExecutor.Builder.afterSuccess(Consumer).public GremlinExecutor.LifeCycle.Builder afterTimeout(Consumer<Bindings> afterTimeout)
GremlinExecutor.Builder.afterTimeout(Consumer).public GremlinExecutor.LifeCycle.Builder afterFailure(BiConsumer<Bindings,Throwable> afterFailure)
GremlinExecutor.Builder.afterFailure(BiConsumer).public GremlinExecutor.LifeCycle create()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.