예제 #1
0
 public MZmineProcessingStep<ModuleType> getValue() {
   if (value == null) return null;
   // First check that the module has all parameters set
   ParameterSet embeddedParameters = value.getParameterSet();
   if (embeddedParameters == null) return value;
   for (Parameter<?> p : embeddedParameters.getParameters()) {
     if (p instanceof UserParameter) {
       UserParameter<?, ?> up = (UserParameter<?, ?>) p;
       Object upValue = up.getValue();
       if (upValue == null) return null;
     }
   }
   return value;
 }