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

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

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

import org.requirementsascode.FlowStep;
import org.requirementsascode.UseCase;

public class ContinuesAfter extends AbstractContinuesAfter{
	private UseCase useCase;

  public ContinuesAfter(String stepName, UseCase useCase) {
		super(stepName);
		this.useCase = useCase;
	}

  @Override
  public FlowStep resolvePreviousStep() {
    FlowStep previousStep = (FlowStep) useCase.findStep(getStepName());
    return previousStep;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy