Class FishingOutcomes
- java.lang.Object
-
- akka.actor.testkit.typed.scaladsl.FishingOutcomes
-
public class FishingOutcomes extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FishingOutcomes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FishingOutcome
complete()
Complete fishing and return all messages up until thisstatic FishingOutcome
continueAndIgnore()
Consume this message, but do not collect it into the result, and continue with the next messagestatic FishingOutcome
fail(java.lang.String message)
Fail fishing with a custom error message
-
-
-
Method Detail
-
complete
public static FishingOutcome complete()
Complete fishing and return all messages up until this
-
continueAndIgnore
public static FishingOutcome continueAndIgnore()
Consume this message, but do not collect it into the result, and continue with the next message
-
fail
public static FishingOutcome fail(java.lang.String message)
Fail fishing with a custom error message
-
-