Difference: WritingTasks (47 vs. 48)

Revision 482013-04-16 - JavierDiaz

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"
<-- ANALYTICS CODE - DO NOT EDIT -->
<-- Google Analytics script BEGIN -->
<-- Google Analytics script END -->
Line: 225 to 225
 }
Added:
>
>
In Jython:
        # ...
        p = TaskParameter('input', mandatory = 1, valueType = java.lang.Object)
        p.description = " A desc 4"
        p.parameterValidator= InstanceOfAnyValidator(String, Integer, Product)
        self.addTaskParameter(p)
        # ...

 
  • Use multiple optional parameters (not recommended, too many parameters)

Cleaning of parameters after execution

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