Difference: DpHipeTools (29 vs. 30)

Revision 302008-12-02 - JavierDiaz

Line: 1 to 1

Adding Tools to HIPE

Line: 299 to 299
  • the name of the task should be a legal variable name in the global name-space. For example your instance of MyTask should report itself as e.g.: "myTask" and not "This is my task".
  • if your prime parameter is not the first parameter in your task, specify the prime parameter using the setPrimeInput method in the signature
  • write a parameter validator for your prime parameter if your task should be listed not only on prime data type but on prime data contents as well.
  • If your task uses file paths as arguments to avoid problems with windows paths you should add a Mapper to your TaskParameter:
parameter.setMapper(new FilenameMapper()); //Java

Adding a Tool that is not a Task

This site is powered by the TWiki collaboration platform Powered by Perl