| 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOk()
Returns
true if the checking result is positive. |
java.lang.String |
toString()
Returns the text specified in the constructor.
|
public TextResult(java.lang.String text)
public TextResult(java.lang.String text,
boolean ok)
public boolean isOk()
Resulttrue if the checking result is positive.public java.lang.String toString()
toString in class java.lang.Object