提交 9922685b 编写于 作者: S Serge Rider

Annotations

上级 870f164b
......@@ -20,6 +20,7 @@ package org.jkiss.dbeaver.model.runtime;
/**
* Condition for lambdas
*/
@FunctionalInterface
public interface DBRCondition {
boolean isConditionMet();
......
......@@ -20,6 +20,7 @@ package org.jkiss.dbeaver.model.runtime;
/**
* Abstract object creator
*/
@FunctionalInterface
public interface DBRCreator<RESULT, PARAMETER> {
RESULT createObject(PARAMETER parameter);
......
......@@ -21,6 +21,7 @@ import org.eclipse.core.runtime.IStatus;
/**
* Process execution listener
*/
@FunctionalInterface
public interface DBRProgressListener {
void onTaskFinished(IStatus status);
......
......@@ -22,6 +22,7 @@ import java.lang.reflect.InvocationTargetException;
/**
* Runnable with parameter
*/
@FunctionalInterface
public interface DBRRunnableParametrized<T> {
void run(T param)
......
......@@ -23,6 +23,7 @@ import java.lang.reflect.InvocationTargetException;
* Database progress monitor.
* Similar to IProgressMonitor but with DBP specific features
*/
@FunctionalInterface
public interface DBRRunnableWithProgress {
void run(DBRProgressMonitor monitor) throws InvocationTargetException, InterruptedException;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册