Eclipseplugins
Repository.java
1 package com.proalpha.pds.gitutils.common;
2 
3 import java.io.File;
4 import java.util.List;
5 
6 public class Repository {
7 
8  private static List<String> conflictingFiles;
9  private static File repositoryPath;
10 
11  private static final class RepositoryInstanceHolder {
12  static final Repository INSTANCE = new Repository();
13  }
14 
15  private Repository() {
16  }
17 
18  public static Repository getInstance() {
19  return RepositoryInstanceHolder.INSTANCE;
20  }
21 
22  public void setRepositoryPath(File path) {
23  repositoryPath = path;
24  }
25 
26  public File getRepositoryPath() {
27  return repositoryPath;
28  }
29 
30  public void setConflictingFiles(List<String> fileList) {
31  conflictingFiles = fileList;
32  }
33 
34  public List<String> getConflictingFiles()
35 
36  {
37  return conflictingFiles;
38  }
39 }