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

org.requirementsascode.systemreaction.AbstractContinuesAfter Maven / Gradle / Ivy

There is a newer version: 2.0
Show newest version
package org.requirementsascode.systemreaction;

import org.requirementsascode.FlowStep;
import org.requirementsascode.ModelRunner;

public abstract class AbstractContinuesAfter extends AbstractContinues {
	private FlowStep previousStep;

	public AbstractContinuesAfter(String stepName, FlowStep previousStep) {
		super(stepName);
		this.previousStep = previousStep;
	}

	@Override
	public void accept(ModelRunner runner) {
		runner.setLatestStep(previousStep);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy