
flux.MercurialTriggerFactory Maven / Gradle / Ivy
package flux;
import flux.dev.AdapterFactory;
import fluximpl.FlowChartImpl;
import fluximpl.MercurialTriggerImpl;
/**
* Factory for creating MercurialTrigger.
*
* @author [email protected]
*/
public class MercurialTriggerFactory implements AdapterFactory {
private FlowChartImpl flowChart;
public void init(FlowChartImpl flowChart) {
this.flowChart = flowChart;
} // init
public MercurialTrigger makeMercurialTrigger(String name) {
return new MercurialTriggerImpl(flowChart, name);
} // makeMercurialTrigger()
} // class MercurialTriggerFactory
© 2015 - 2025 Weber Informatics LLC | Privacy Policy