Packages

t

kalix.javasdk.testkit

ActionResult

trait ActionResult[T] extends AnyRef

Represents the result of an Action handling a command when run in through the testkit.

Not for user extension, returned by the testkit.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionResult
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def getAsyncResult(): CompletionStage[ActionResult[T]]

    returns

    The future result if the returned effect was an async effect or throws if the returned effect was not async.

  2. abstract def getError(): String

    returns

    The error description returned or throws if the effect returned by the action was not an error

  3. abstract def getErrorStatusCode(): Code

    returns

    The error status code or throws if the effect returned by the action was not an error.

  4. abstract def getForward(): DeferredCallDetails[_ <: AnyRef, T]

    returns

    An object with details about the forward. If the result was not a forward an exception is thrown.

  5. abstract def getReply(): T

    returns

    The reply message if the returned effect was a reply or throws if the returned effect was not a reply.

  6. abstract def getSideEffects(): List[DeferredCallDetails[_ <: AnyRef, _ <: AnyRef]]

    returns

    The list of side effects

  7. abstract def isAsync(): Boolean

    returns

    true if the call was async, false if not

  8. abstract def isError(): Boolean

    returns

    true if the call was an error, false if not

  9. abstract def isForward(): Boolean

    returns

    true if the call was forwarded, false if not

  10. abstract def isReply(): Boolean

    returns

    true if the call had an effect with a reply, false if not

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped