Difference: DpHipeTools (19 vs. 20)

Revision 202008-07-01 - JeroenDeJong

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

Adding Tools to HIPE

Line: 71 to 71
 You can write a ParameterValidator to do just that:
    prime=new TaskParameter("spectrum",SpecificProduct.class)

Changed:
<
<
prime.setValidator(new ParameterValidatorAdapter() {
>
>
prime.setParameterValidator(new ParameterValidatorAdapter() {
  public void validate(Object value) throws ParameterValidationException { SpecificProduct s=(SpecificProduct)value; if (! (logic that would validate the contents of the value...)) {
 
This site is powered by the TWiki collaboration platform Powered by Perl