Class NexusTaskHandler.Result

  • Enclosing interface:
    NexusTaskHandler

    public static class NexusTaskHandler.Result
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(io.temporal.api.nexus.v1.HandlerError handlerError)  
      Result​(io.temporal.api.nexus.v1.Response response)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.temporal.api.nexus.v1.HandlerError getHandlerError()  
      io.temporal.api.nexus.v1.Response getResponse()  
      • Methods inherited from class java.lang.Object

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

      • Result

        public Result​(io.temporal.api.nexus.v1.Response response)
      • Result

        public Result​(io.temporal.api.nexus.v1.HandlerError handlerError)
    • Method Detail

      • getResponse

        @Nullable
        public io.temporal.api.nexus.v1.Response getResponse()
      • getHandlerError

        @Nullable
        public io.temporal.api.nexus.v1.HandlerError getHandlerError()