public @Nullable ExternalSystemTask findTask(@NotNull ExternalSystemTaskType type,
                                               @NotNull ProjectSystemId projectSystemId,
                                               final @NotNull String externalProjectPath) {
    for(ExternalSystemTask task : myTasksDetails.values()) {
      if(task instanceof AbstractExternalSystemTask externalSystemTask) {
        if(externalSystemTask.getId().getType() == type &&
           externalSystemTask.getExternalSystemId().getId().equals(projectSystemId.getId()) &&
           externalSystemTask.getExternalProjectPath().equals(externalProjectPath)){
          return task;
        }
      }
    }

    return null;
  }
public @Nullable ExternalSystemTask findTask(@NotNull ExternalSystemTaskType type,
                                               @NotNull ProjectSystemId projectSystemId,
                                               final @NotNull String externalProjectPath)