Class Word

java.lang.Object
com.tngtech.jgiven.report.model.Word

public class Word extends Object
Represents a part of a step.
  • Constructor Details

    • Word

      public Word()
    • Word

      public Word(String value)
    • Word

      public Word(String value, boolean isIntroWord)
  • Method Details

    • argWord

      public static Word argWord(String argumentName, String value, String formattedValue)
    • argWord

      public static Word argWord(String argumentName, String value, DataTable dataTable)
    • getFormattedValue

      public String getFormattedValue()
    • introWord

      public static Word introWord(String value)
    • setValue

      public void setValue(String name)
    • appendWord

      public void appendWord(CharSequence word)
    • addPrefix

      public void addPrefix(CharSequence prefix)
    • addSuffix

      public void addSuffix(CharSequence suffix)
    • isArg

      public boolean isArg()
    • getArgumentInfo

      public ArgumentInfo getArgumentInfo()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getValue

      public String getValue()
    • isIntroWord

      public boolean isIntroWord()
    • setIntroWord

      public void setIntroWord(boolean isIntroWord)
    • setIsDifferent

      public void setIsDifferent(boolean b)
    • isDifferent

      public boolean isDifferent()
    • isDataTable

      public boolean isDataTable()