| GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle.Builder. afterFailure(BiConsumer<Bindings,Throwable> afterFailure) | Specifies the function to execute if the script evaluation fails. | 
| GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle.Builder. afterSuccess(Consumer<Bindings> afterSuccess) | Specifies the function to execute after result transformations. | 
| GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle.Builder. afterTimeout(BiConsumer<Bindings,Throwable> afterTimeout) | Specifies the function to execute if the script evaluation times out. | 
| GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle.Builder. afterTimeout(Consumer<Bindings> afterTimeout) | Specifies the function to execute if the script evaluation times out. | 
| GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle.Builder. beforeEval(Consumer<Bindings> beforeEval) | Specifies the function to execute prior to the script being evaluated. | 
| static GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle. build() |  | 
| GremlinExecutor.LifeCycle.Builder | GremlinExecutor.LifeCycle.Builder. evaluationTimeoutOverride(Long evaluationTimeoutOverride) | An override to the global evaluationTimeoutsetting on the script engine. | 
| GremlinExecutor.LifeCycle.Builder | 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 | 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 before the script evaluation is marked as complete. |