Interface ProcessManagement

    • Method Detail

      • init

        ProcessWorkflow init​(WorkerParameters workerParameters,
                             java.lang.String workflowId)
                      throws ProcessingException
        Init a new process workflow
        Parameters:
        workerParameters - parameters to be passed to ProcessEngine
        workflowId - the workflow identifier
        Returns:
        ProcessWorkflow
        Throws:
        ProcessingException - if the process could not be initialized
      • findAllProcessWorkflow

        java.util.List<ProcessWorkflow> findAllProcessWorkflow​(java.lang.Integer tenantId)
        Retrieve All the workflow process for monitoring purpose The final business scope of this feature is likely to be redefined, to match the future need
        Parameters:
        tenantId - the tenant identifier
        Returns:
        All the workflow process details
      • findOneProcessWorkflow

        ProcessWorkflow findOneProcessWorkflow​(java.lang.String operationId,
                                               java.lang.Integer tenantId)
        find the workflow process according to the operation_id and the tenant_id
        Parameters:
        operationId - the operation identifier
        tenantId - the tenant identifier
        Returns:
        the workFlow process
      • getWorkflowDefinitions

        java.util.Map<java.lang.String,​WorkFlow> getWorkflowDefinitions()
        Retrieve the loaded workflow definitions
        Returns:
        the workflow definitions by ID
      • reloadWorkflowDefinitions

        void reloadWorkflowDefinitions()
        Reload workflow definitions
      • getFilteredProcess

        java.util.List<ProcessDetail> getFilteredProcess​(ProcessQuery query,
                                                         java.lang.Integer tenantId)
        Get filtered process workflow
        Parameters:
        query - to filter
        tenantId - the tenandId
        Returns:
        filtered process list
      • getWorkFlowList

        java.util.Map<java.lang.Integer,​java.util.Map<java.lang.String,​ProcessWorkflow>> getWorkFlowList()
        Returns:
        WorkFlow List
      • getProcessMonitorList

        java.util.Map<java.lang.String,​IEventsState> getProcessMonitorList()
        sProcessMonitorList
        Returns: