Interface When


public interface When
  • Method Summary

    Modifier and Type
    Method
    Description
    then(CqnValue value)
    Specifies the return value of a case.
    then(Object value)
    Specifies the return value of a case.
  • Method Details

    • then

      Then then(CqnValue value)
      Specifies the return value of a case.
      Parameters:
      value - the return value
      Returns:
      a builder to connect more cases or to specify the default value
    • then

      Then then(Object value)
      Specifies the return value of a case.
      Parameters:
      value - the return value
      Returns:
      a builder to connect more cases or to specify the default value