public GitConfigImpl() { this.outPath = GitConfig.super.getOutPath(); this.branch = GitConfig.super.getBranch(); this.origin = GitConfig.super.getOrigin(); this.repoName = GitConfig.super.getRepoName(); this.createRepo = GitConfig.super.getCreateRepo(); }
@Override public GitConfig asNewClone(final GitConfig source) { return new GitConfigImpl(source.getOutPath(), source.getBranch(), source.getOrigin(), source.getRepoName(), source.getCreateRepo()); } }
checkNotEmpty("repo-name parameter is mandatory", gitConfig.getRepoName()); if (Boolean.parseBoolean(gitConfig.getCreateRepo())) { final URI uri = URI.create("git://" + gitConfig.getRepoName()); FileSystems.newFileSystem(uri,