Package classycle.dependency
Class TextResult
- java.lang.Object
-
- classycle.dependency.TextResult
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOk()Returnstrueif the checking result is positive.java.lang.StringtoString()Returns the text specified in the constructor.
-
-
-
Method Detail
-
isOk
public boolean isOk()
Description copied from interface:ResultReturnstrueif the checking result is positive.
-
toString
public java.lang.String toString()
Returns the text specified in the constructor.- Overrides:
toStringin classjava.lang.Object
-
-