Package com.tngtech.jgiven.report.model
Class Word
- java.lang.Object
-
- com.tngtech.jgiven.report.model.Word
-
public class Word extends java.lang.Object
Represents a part of a step.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPrefix(java.lang.CharSequence prefix)
void
addSuffix(java.lang.CharSequence suffix)
void
appendWord(java.lang.CharSequence word)
static Word
argWord(java.lang.String argumentName, java.lang.String value, DataTable dataTable)
static Word
argWord(java.lang.String argumentName, java.lang.String value, java.lang.String formattedValue)
boolean
equals(java.lang.Object obj)
ArgumentInfo
getArgumentInfo()
java.lang.String
getFormattedValue()
java.lang.String
getValue()
int
hashCode()
static Word
introWord(java.lang.String value)
boolean
isArg()
boolean
isDataTable()
boolean
isDifferent()
boolean
isIntroWord()
void
setIntroWord(boolean isIntroWord)
void
setIsDifferent(boolean b)
void
setValue(java.lang.String name)
java.lang.String
toString()
-
-
-
Method Detail
-
argWord
public static Word argWord(java.lang.String argumentName, java.lang.String value, java.lang.String formattedValue)
-
argWord
public static Word argWord(java.lang.String argumentName, java.lang.String value, DataTable dataTable)
-
getFormattedValue
public java.lang.String getFormattedValue()
-
introWord
public static Word introWord(java.lang.String value)
-
setValue
public void setValue(java.lang.String name)
-
appendWord
public void appendWord(java.lang.CharSequence word)
-
addPrefix
public void addPrefix(java.lang.CharSequence prefix)
-
addSuffix
public void addSuffix(java.lang.CharSequence suffix)
-
isArg
public boolean isArg()
-
getArgumentInfo
public ArgumentInfo getArgumentInfo()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getValue
public java.lang.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()
-
-