All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nflow.engine.service.WorkflowExecutorService Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package io.nflow.engine.service;

import java.util.List;

import javax.inject.Inject;

import org.springframework.stereotype.Component;

import io.nflow.engine.internal.dao.ExecutorDao;
import io.nflow.engine.workflow.executor.WorkflowExecutor;

/**
 * Service for managing workflow executors.
 */
@Component
public class WorkflowExecutorService {

  private final ExecutorDao executorDao;

  @Inject
  public WorkflowExecutorService(ExecutorDao executorDao) {
    this.executorDao = executorDao;
  }

  /**
   * Return all workflow executors of this executor group.
   * @return The workflow executors.
   */
  public List getWorkflowExecutors() {
    return executorDao.getExecutors();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy