Class 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 this
      static FishingOutcome continueAndIgnore()
      Consume this message, but do not collect it into the result, and continue with the next message
      static FishingOutcome fail​(java.lang.String message)
      Fail fishing with a custom error message
      • Methods inherited from class java.lang.Object

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

      • FishingOutcomes

        public FishingOutcomes()
    • Method Detail

      • complete

        public static FishingOutcome complete()
        Complete fishing and return all messages up until this
        Returns:
        (undocumented)
      • continueAndIgnore

        public static FishingOutcome continueAndIgnore()
        Consume this message, but do not collect it into the result, and continue with the next message
        Returns:
        (undocumented)
      • fail

        public static FishingOutcome fail​(java.lang.String message)
        Fail fishing with a custom error message
        Parameters:
        message - (undocumented)
        Returns:
        (undocumented)