Interface Sink

All Known Implementing Classes:
SinkRunner

public interface Sink
Author:
Pierre Lecerf ([email protected])
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    void
    execute(Output output, Context context)
     
    static Sink
    of(Object target)
    Create a Sink out of a non-specific instance (i.e. not a Sink implementation).
  • Method Details

    • execute

      void execute(Output output, Context context) throws Exception
      Throws:
      Exception
    • defaultId

      default String defaultId()
    • of

      static Sink of(Object target)
      Create a Sink out of a non-specific instance (i.e. not a Sink implementation). The resulting sink will leverage reflection-based method introspection mechanisms for resolving execution configuration.