Class ProtocolCallback

java.lang.Object
com.betterdiff.core.Callback
com.betterdiff.core.utils.ProtocolCallback

public abstract class ProtocolCallback
extends com.betterdiff.core.Callback
Callback for protocol utils. Some actions may require additional information provided by the caller. When it happens the class asks for such information, and because they may be time dependent or hard to calculate (or it can be a huge chunk of data) then it wouldn't be a good idea to pass everything in the constructor.
Author:
troomar
  • Constructor Summary

    Constructors
    Constructor Description
    ProtocolCallback()  
  • Method Summary

    Modifier and Type Method Description
    abstract java.lang.String requestText​(int ordinalNumber)  

    Methods inherited from class com.betterdiff.core.Callback

    getVerbatimMode, sendMessage

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProtocolCallback

      public ProtocolCallback()
  • Method Details

    • requestText

      public abstract java.lang.String requestText​(int ordinalNumber)