类 ZeebeInstanceService
- java.lang.Object
-
- cn.dustlight.flow.zeebe.services.ZeebeInstanceService
-
- 所有已实现的接口:
cn.dustlight.flow.core.flow.instance.InstanceService
public class ZeebeInstanceService extends Object implements cn.dustlight.flow.core.flow.instance.InstanceService
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static classZeebeInstanceService.StatusQuery
-
构造器概要
构造器 构造器 说明 ZeebeInstanceService(io.camunda.zeebe.client.ZeebeClient zeebeClient, org.springframework.data.elasticsearch.core.ReactiveElasticsearchOperations operations)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>cancel(String client, Long id)reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.instance.Instance>get(String clientId, Long id)protected reactor.core.publisher.Mono<ZeebeInstanceEntity>getEntity(String clientId, Long key, String... index)reactor.core.publisher.Mono<Map<String,Object>>getVariables(String client, Long id, Long scope)reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.QueryResult<cn.dustlight.flow.core.flow.instance.Instance>>list(String clientId, String name, Integer version, Set<cn.dustlight.flow.core.flow.instance.InstanceEvent.Status> statuses, int page, int size)reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.QueryResult<cn.dustlight.flow.core.flow.instance.Instance>>listInstance(String clientId, String name, Integer version, int page, int size, org.elasticsearch.index.query.QueryBuilder... filters)reactor.core.publisher.Mono<Void>resolve(String client, Long id, Long scope)reactor.core.publisher.Mono<Void>setVariables(String client, Long id, Long scope, Map<String,Object> variables)reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.instance.Instance>start(String clientId, String name, Map<String,Object> variables)
-
-
-
方法详细资料
-
start
public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.instance.Instance> start(String clientId, String name, Map<String,Object> variables)
- 指定者:
start在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
get
public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.instance.Instance> get(String clientId, Long id)
- 指定者:
get在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
list
public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.QueryResult<cn.dustlight.flow.core.flow.instance.Instance>> list(String clientId, String name, Integer version, Set<cn.dustlight.flow.core.flow.instance.InstanceEvent.Status> statuses, int page, int size)
- 指定者:
list在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
cancel
public reactor.core.publisher.Mono<Void> cancel(String client, Long id)
- 指定者:
cancel在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
resolve
public reactor.core.publisher.Mono<Void> resolve(String client, Long id, Long scope)
- 指定者:
resolve在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
getVariables
public reactor.core.publisher.Mono<Map<String,Object>> getVariables(String client, Long id, Long scope)
- 指定者:
getVariables在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
setVariables
public reactor.core.publisher.Mono<Void> setVariables(String client, Long id, Long scope, Map<String,Object> variables)
- 指定者:
setVariables在接口中cn.dustlight.flow.core.flow.instance.InstanceService
-
listInstance
public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.QueryResult<cn.dustlight.flow.core.flow.instance.Instance>> listInstance(String clientId, String name, Integer version, int page, int size, org.elasticsearch.index.query.QueryBuilder... filters)
-
getEntity
protected reactor.core.publisher.Mono<ZeebeInstanceEntity> getEntity(String clientId, Long key, String... index)
-
-