Class WaitKt

  • All Implemented Interfaces:

    
    public final class WaitKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <P extends Any> P waitFor(Awaitable<P, ?> awaitable) Call when the current AgentProcess should wait for a response from the user.
      final static <P extends Any> P confirm(P what, String description)
      final static <P extends Any> P fromForm(String title)
      final static <P extends Any> P fromForm(String title, Class<P> dataClass) Bind input to the data class
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • waitFor

         final static <P extends Any> P waitFor(Awaitable<P, ?> awaitable)

        Call when the current AgentProcess should wait for a response from the user.

      • fromForm

         final static <P extends Any> P fromForm(String title, Class<P> dataClass)

        Bind input to the data class