code: public boolean validation() throws ParallelTaskInvalidException {
  
          ParallelTask task = new ParallelTask();
          targetHostMeta = new TargetHostMeta(targetHosts);
  
          task = new ParallelTask(requestProtocol, concurrency, httpMeta,
                  targetHostMeta, sshMeta, tcpMeta, udpMeta, pingMeta, null, responseContext,
                   replacementVarMapNodeSpecific,
                  replacementVarMap, requestReplacementType, config);
          boolean valid = false;
  
          try {
              valid = task.validateWithFillDefault();
          } catch (ParallelTaskInvalidException e) {
              logger.info("task is invalid " + e);
          }
  
          return valid;
  
      }
docs: add some validation to see if this miss anything.
  
  @return true, if successful
  @throws ParallelTaskInvalidException
  the parallel task invalid exception