js-script-engine-api: fixed CE merge
This commit is contained in:
parent
b397dfb518
commit
966b0923e7
@ -23,6 +23,7 @@ import com.google.common.util.concurrent.ListenableFuture;
|
|||||||
import com.google.common.util.concurrent.MoreExecutors;
|
import com.google.common.util.concurrent.MoreExecutors;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.thingsboard.server.common.data.id.CustomerId;
|
||||||
import org.thingsboard.server.common.data.id.EntityId;
|
import org.thingsboard.server.common.data.id.EntityId;
|
||||||
import org.thingsboard.server.common.data.id.TenantId;
|
import org.thingsboard.server.common.data.id.TenantId;
|
||||||
import org.thingsboard.server.common.msg.TbMsg;
|
import org.thingsboard.server.common.msg.TbMsg;
|
||||||
|
|||||||
@ -28,8 +28,6 @@ public interface ScriptEngine {
|
|||||||
|
|
||||||
ListenableFuture<TbMsg> executeGenerateAsync(TbMsg prevMsg);
|
ListenableFuture<TbMsg> executeGenerateAsync(TbMsg prevMsg);
|
||||||
|
|
||||||
boolean executeFilter(TbMsg msg) throws ScriptException;
|
|
||||||
|
|
||||||
ListenableFuture<Boolean> executeFilterAsync(TbMsg msg);
|
ListenableFuture<Boolean> executeFilterAsync(TbMsg msg);
|
||||||
|
|
||||||
ListenableFuture<Set<String>> executeSwitchAsync(TbMsg msg);
|
ListenableFuture<Set<String>> executeSwitchAsync(TbMsg msg);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user