Class UiCommandWithResultCallback<RESULT>

java.lang.Object
org.teamapps.uisession.UiCommandWithResultCallback<RESULT>

public class UiCommandWithResultCallback<RESULT>
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    UiCommandWithResultCallback​(org.teamapps.dto.UiCommand<RESULT> uiCommand)  
    UiCommandWithResultCallback​(org.teamapps.dto.UiCommand<RESULT> uiCommand, java.util.function.Consumer<RESULT> resultCallback)  
  • Method Summary

    Modifier and Type Method Description
    java.util.function.Consumer<RESULT> getResultCallback()  
    org.teamapps.dto.UiCommand<RESULT> getUiCommand()  

    Methods inherited from class java.lang.Object

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

    • UiCommandWithResultCallback

      public UiCommandWithResultCallback​(org.teamapps.dto.UiCommand<RESULT> uiCommand, java.util.function.Consumer<RESULT> resultCallback)
    • UiCommandWithResultCallback

      public UiCommandWithResultCallback​(org.teamapps.dto.UiCommand<RESULT> uiCommand)
  • Method Details

    • getUiCommand

      public org.teamapps.dto.UiCommand<RESULT> getUiCommand()
    • getResultCallback

      public java.util.function.Consumer<RESULT> getResultCallback()