public String getPath() {
    if (StringUtils.isEmpty(path)) {
      this.getDefaultRepositoryConfiguration().setType(this.getType());
      return this.getDefaultRepositoryConfiguration().getPath();
    }

    return path;
  }
  public boolean isInputParamValid(RepositoryConfiguration prodConfig) {
    try {
      RepositoryValidators.validate(prodConfig, getProductionRepositoryConfigurations());

      if (this.secure) {
        if (StringUtils.isEmpty(this.login) || StringUtils.isEmpty(this.password)) {
          throw new RepositoryValidationException(
              "Invalid login or password. Please, check login and password");
        }
      }

      return true;
    } catch (RepositoryValidationException e) {
      this.errorMessage = e.getMessage();
      return false;
    }
  }