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 boolean
isOk()
Returnstrue
if the checking result is positive.java.lang.String
toString()
Returns the text specified in the constructor.
-
-
-
Method Detail
-
isOk
public boolean isOk()
Description copied from interface:Result
Returnstrue
if the checking result is positive.
-
toString
public java.lang.String toString()
Returns the text specified in the constructor.- Overrides:
toString
in classjava.lang.Object
-
-