Package org.beryx.textio
Class ReadInterruptionData
- java.lang.Object
-
- org.beryx.textio.ReadInterruptionStrategy<ReadInterruptionData>
-
- org.beryx.textio.ReadInterruptionData
-
public class ReadInterruptionData extends ReadInterruptionStrategy<ReadInterruptionData>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.beryx.textio.ReadInterruptionStrategy
ReadInterruptionStrategy.Action
-
-
Constructor Summary
Constructors Constructor Description ReadInterruptionData(ReadInterruptionStrategy.Action action)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadInterruptionData
from(ReadHandlerData handlerData, java.lang.String partialInput)
java.lang.String
getReturnValue()
java.lang.String
toString()
ReadInterruptionData
withReturnValue(java.lang.String returnValue)
-
Methods inherited from class org.beryx.textio.ReadInterruptionStrategy
getAction, getPayload, isRedrawRequired, withPayload, withRedrawRequired
-
-
-
-
Constructor Detail
-
ReadInterruptionData
public ReadInterruptionData(ReadInterruptionStrategy.Action action)
-
-
Method Detail
-
from
public static ReadInterruptionData from(ReadHandlerData handlerData, java.lang.String partialInput)
-
withReturnValue
public ReadInterruptionData withReturnValue(java.lang.String returnValue)
-
getReturnValue
public java.lang.String getReturnValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classReadInterruptionStrategy<ReadInterruptionData>
-
-