Interface Macro

All Known Implementing Classes:
AbstractMacro, EchoMacro, SnippetMacro, TocMacro

public interface Macro
Base interface of a macro.
Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The vm line separator
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(Sink sink, MacroRequest request)
    Execute the current macro using the given MacroRequest, and emit events into the given sink.
  • Field Details

    • EOL

      static final String EOL
      The vm line separator
  • Method Details

    • execute

      void execute(Sink sink, MacroRequest request) throws MacroExecutionException
      Execute the current macro using the given MacroRequest, and emit events into the given sink.
      Parameters:
      sink - The sink to receive the events.
      request - The corresponding MacroRequest.
      Throws:
      MacroExecutionException - if an error occurred during execution.