Class ConditionApi


  • public class ConditionApi
    extends Object
    • Constructor Detail

      • ConditionApi

        public ConditionApi()
      • ConditionApi

        public ConditionApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • evaluateConditionCall

        public okhttp3.Call evaluateConditionCall​(EvaluationConditionDto evaluationConditionDto,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for evaluateCondition
        Parameters:
        evaluationConditionDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • evaluateCondition

        public List<ProcessInstanceDto> evaluateCondition​(EvaluationConditionDto evaluationConditionDto)
                                                   throws ApiException
        Evaluate Triggers evaluation of conditions for conditional start event(s). Internally this maps to the engines condition evaluation builder method ConditionEvaluationBuilder#evaluateStartConditions(). For more information see the [Conditional Start Events](https://docs.camunda.org/manual/7.18/reference/bpmn20/events/conditional-events/#conditional-start-event) section of the [BPMN 2.0 Implementation Reference](https://docs.camunda.org/manual/7.18/reference/bpmn20/).
        Parameters:
        evaluationConditionDto - (optional)
        Returns:
        List<ProcessInstanceDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateConditionWithHttpInfo

        public ApiResponse<List<ProcessInstanceDto>> evaluateConditionWithHttpInfo​(EvaluationConditionDto evaluationConditionDto)
                                                                            throws ApiException
        Evaluate Triggers evaluation of conditions for conditional start event(s). Internally this maps to the engines condition evaluation builder method ConditionEvaluationBuilder#evaluateStartConditions(). For more information see the [Conditional Start Events](https://docs.camunda.org/manual/7.18/reference/bpmn20/events/conditional-events/#conditional-start-event) section of the [BPMN 2.0 Implementation Reference](https://docs.camunda.org/manual/7.18/reference/bpmn20/).
        Parameters:
        evaluationConditionDto - (optional)
        Returns:
        ApiResponse<List<ProcessInstanceDto>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateConditionAsync

        public okhttp3.Call evaluateConditionAsync​(EvaluationConditionDto evaluationConditionDto,
                                                   ApiCallback<List<ProcessInstanceDto>> _callback)
                                            throws ApiException
        Evaluate (asynchronously) Triggers evaluation of conditions for conditional start event(s). Internally this maps to the engines condition evaluation builder method ConditionEvaluationBuilder#evaluateStartConditions(). For more information see the [Conditional Start Events](https://docs.camunda.org/manual/7.18/reference/bpmn20/events/conditional-events/#conditional-start-event) section of the [BPMN 2.0 Implementation Reference](https://docs.camunda.org/manual/7.18/reference/bpmn20/).
        Parameters:
        evaluationConditionDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object