docs: private NodeTask getMatchTask(List<NodeTask> tasks, NodeTask match) {
          for (NodeTask task : tasks) {
              if (match.getPipeline().getId().equals(task.getPipeline().getId())) {
                  return task;
              }
          }
  
          return null;
      }