Package migratedb.v1.core.internal.jdbc
Class PlainExecutionTemplate
- java.lang.Object
-
- migratedb.v1.core.internal.jdbc.PlainExecutionTemplate
-
- All Implemented Interfaces:
ExecutionTemplate
public class PlainExecutionTemplate extends Object implements ExecutionTemplate
-
-
Constructor Summary
Constructors Constructor Description PlainExecutionTemplate()
PlainExecutionTemplate(boolean skipErrorLog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
execute(Callable<T> callback)
Executes this callback within the context of the connection
-
-
-
Method Detail
-
execute
public <T> T execute(Callable<T> callback)
Description copied from interface:ExecutionTemplate
Executes this callback within the context of the connection- Specified by:
execute
in interfaceExecutionTemplate
- Parameters:
callback
- The callback to execute.- Returns:
- The result of the callback.
-
-