Interface ResponseFunctionShellCallOutputContent.Outcome.Visitor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract T visitTimeout(JsonValue timeout) Indicates that the function shell call exceeded its configured time limit.
      abstract T visitExit(ResponseFunctionShellCallOutputContent.Outcome.Exit exit) Indicates that the shell commands finished and returned an exit code.
      T unknown(JsonValue json) Maps an unknown variant of Outcome to a value of type T.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • visitTimeout

         abstract T visitTimeout(JsonValue timeout)

        Indicates that the function shell call exceeded its configured time limit.

      • unknown

         T unknown(JsonValue json)

        Maps an unknown variant of Outcome to a value of type T.

        An instance of Outcome can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.