Alias.java

  1. package org.jbehave.core.model;

  2. import java.util.List;

  3. import org.jbehave.core.steps.StepType;

  4. public class Alias {

  5.     private final String stepIdentifier;
  6.     private final StepType type;
  7.     private final List<AliasVariant> variants;

  8.     public Alias(String stepIdentifier, StepType type, List<AliasVariant> variants) {
  9.         this.stepIdentifier = stepIdentifier;
  10.         this.type = type;
  11.         this.variants = variants;
  12.     }

  13.     public String getStepIdentifier() {
  14.         return stepIdentifier;
  15.     }

  16.     public StepType getType() {
  17.         return type;
  18.     }

  19.     public List<AliasVariant> getVariants() {
  20.         return variants;
  21.     }
  22. }