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

flux.GitTriggerFactory Maven / Gradle / Ivy

The newest version!
package flux;

import flux.dev.AdapterFactory;
import fluximpl.FlowChartImpl;
import fluximpl.GitTriggerImpl;

/**
 * Factory for creating GitTrigger.
 *
 * @author [email protected]
 */
public class GitTriggerFactory implements AdapterFactory {

  private FlowChartImpl flowChart;

  public void init(FlowChartImpl flowChart) {
    this.flowChart = flowChart;
  } // init

  public GitTrigger makeGitTrigger(String name) {
    return new GitTriggerImpl(flowChart, name);
  } // makeGitTrigger()
} // class GitTriggerFactory





© 2015 - 2025 Weber Informatics LLC | Privacy Policy