Class Case.OngoingWhenThen

  • Enclosing class:
    Case

    @API(status=INTERNAL,
         since="1.0")
    public final class Case.OngoingWhenThen
    extends java.lang.Object
    Helper class to collect `when` expressions and create Case.CaseWhenThen instances when the `then` is provided.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Case.CaseEnding then​(Expression expression)
      Ends this WHEN block with an expression.
      • Methods inherited from class java.lang.Object

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

      • then

        public Case.CaseEnding then​(Expression expression)
        Ends this WHEN block with an expression.
        Parameters:
        expression - The expression for the ongoing WHEN block.
        Returns:
        An ongoing when builder.