Interface OutputContext

All Known Subinterfaces:
Context

public interface OutputContext
Allows for Output creation in current context.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Output<T>
    output(T value)
    Creates a new Output with a non-null value.
  • Method Details

    • output

      <T> Output<T> output(T value)
      Creates a new Output with a non-null value.
      Type Parameters:
      T - type of the new Output
      Parameters:
      value - the value of the new Output
      Returns:
      a new Output instance
      Throws:
      NullPointerException - if provided value is null