public void setSettingsWithTarget(@Nullable RunnerAndConfigurationSettings settings, @Nullable ExecutionTarget target) {
      if (settings == null) {
        mySettingsWithTarget = Pair.empty();

        typeNameTarget.setName(null);
        typeNameTarget.setType(null);
        typeNameTarget.setTargetId(null);
      }
      else {
        mySettingsWithTarget = new Pair<>(settings, target);

        typeNameTarget.setName(settings.getName());
        typeNameTarget.setType(settings.getType().getId());
        typeNameTarget.setTargetId(target != null ? target.getId() : null);
      }
    }
public void setSettingsWithTarget(@Nullable RunnerAndConfigurationSettings settings, @Nullable ExecutionTarget target)