Constructor and Description |
---|
TextResult(java.lang.String text)
Creates an instance with specified text which is ok.
|
TextResult(java.lang.String text,
boolean ok)
Creates an instance with specified text and specified OK flag.
|
public TextResult(java.lang.String text)
public TextResult(java.lang.String text, boolean ok)
public boolean isOk()
Result
true
if the checking result is positive.public java.lang.String toString()
toString
in class java.lang.Object