Class FeatureCall

java.lang.Object
io.karatelabs.core.FeatureCall

public class FeatureCall extends Object
Wrapper for a Feature with an optional tag selector. Used for call-by-tag syntax like read('file.feature@tag').
  • Constructor Details

    • FeatureCall

      public FeatureCall(Feature feature, String tagSelector)
  • Method Details

    • getFeature

      public Feature getFeature()
    • getTagSelector

      public String getTagSelector()
    • isSameFile

      public boolean isSameFile()
      Returns true if this is a same-file tag call (feature is null).
    • toString

      public String toString()
      Overrides:
      toString in class Object