|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclassycle.dependency.TextResult
public class TextResult
Result as a text.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
isOk()
Returns true if the checking result is positive. |
java.lang.String |
toString()
Returns the text specified in the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextResult(java.lang.String text)
public TextResult(java.lang.String text, boolean ok)
Method Detail |
---|
public boolean isOk()
Result
true
if the checking result is positive.
isOk
in interface Result
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |