Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Gather input values. These might be parameters or component settings. If the input values are not complete, the component can stop executing or prompt the user for additional information.
  2. Gather resources. These might be templates or definition files.
  3. Get an output pipe of some kind (e.g. an output stream).
  4. Create output contents.
  5. Return the status of the execution.

See 'Internal API' below for descriptions of the methods available for the component to use. We will use theĀ the executeAction method of the PrintComponent (org.pentaho.plugin.print.PrintComponent) as an example (minor modifications have been made for clarity).

...