public class CamundaOperateClient
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CamundaOperateClient.Builder |
| Constructor and Description |
|---|
CamundaOperateClient() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
executeQuery(org.apache.hc.core5.http.ClassicHttpRequest httpRequest) |
org.apache.hc.core5.http.Header |
getAuthHeader() |
FlownodeInstance |
getFlownodeInstance(java.lang.Long key) |
Incident |
getIncident(java.lang.Long key) |
java.lang.String |
getOperateUrl() |
ProcessDefinition |
getProcessDefinition(java.lang.Long key) |
io.camunda.zeebe.model.bpmn.BpmnModelInstance |
getProcessDefinitionModel(java.lang.Long key) |
java.lang.String |
getProcessDefinitionXml(java.lang.Long key) |
ProcessInstance |
getProcessInstance(java.lang.Long key) |
Variable |
getVariable(java.lang.Long key) |
java.util.List<FlownodeInstance> |
searchFlownodeInstances(SearchQuery query) |
java.util.List<Incident> |
searchIncidents(SearchQuery query) |
java.util.List<ProcessDefinition> |
searchProcessDefinitions(SearchQuery query) |
java.util.List<ProcessInstance> |
searchProcessInstances(SearchQuery query) |
java.util.List<Variable> |
searchVariables(SearchQuery query) |
void |
setAuthHeader(org.apache.hc.core5.http.Header authHeader) |
void |
setOperateUrl(java.lang.String operateUrl) |
void |
setTokenExpiration(int tokenExpiration) |
public ProcessDefinition getProcessDefinition(java.lang.Long key) throws OperateException
OperateExceptionpublic java.util.List<ProcessDefinition> searchProcessDefinitions(SearchQuery query) throws OperateException
OperateExceptionpublic java.lang.String getProcessDefinitionXml(java.lang.Long key)
throws OperateException
OperateExceptionpublic io.camunda.zeebe.model.bpmn.BpmnModelInstance getProcessDefinitionModel(java.lang.Long key)
throws OperateException
OperateExceptionpublic ProcessInstance getProcessInstance(java.lang.Long key) throws OperateException
OperateExceptionpublic java.util.List<ProcessInstance> searchProcessInstances(SearchQuery query) throws OperateException
OperateExceptionpublic FlownodeInstance getFlownodeInstance(java.lang.Long key) throws OperateException
OperateExceptionpublic java.util.List<FlownodeInstance> searchFlownodeInstances(SearchQuery query) throws OperateException
OperateExceptionpublic Incident getIncident(java.lang.Long key) throws OperateException
OperateExceptionpublic java.util.List<Incident> searchIncidents(SearchQuery query) throws OperateException
OperateExceptionpublic Variable getVariable(java.lang.Long key) throws OperateException
OperateExceptionpublic java.util.List<Variable> searchVariables(SearchQuery query) throws OperateException
OperateExceptionprotected java.lang.String executeQuery(org.apache.hc.core5.http.ClassicHttpRequest httpRequest)
throws OperateException
OperateExceptionpublic java.lang.String getOperateUrl()
public void setOperateUrl(java.lang.String operateUrl)
public org.apache.hc.core5.http.Header getAuthHeader()
public void setAuthHeader(org.apache.hc.core5.http.Header authHeader)
public void setTokenExpiration(int tokenExpiration)