@Test(expected = RefNotAdvertisedException.class) public void changeToTagTest() throws IOException, GitAPIException { wfRepo.setBranch("2.0.0"); }
public synchronized void setBranch(String branch) throws IOException, GitAPIException { this.branch = branch; if (isUp()) { updateLocalGitRepositories(); } }
GitWorkflowRepository extends FileBasedWorkflowRepository implements WorkflowRepository, FileBasedWorkflowRepositoryMXBean { public synchronized void setBranch(String branch) throws IOException, GitAPIException { this.branch = branch; if (isUp()) { updateLocalGitRepositories(); } } }
GitWorkflowRepository extends FileBasedWorkflowRepository implements WorkflowRepository, FileBasedWorkflowRepositoryMXBean { public synchronized void setBranch(String branch) throws IOException, GitAPIException { this.branch = branch; if (isUp()) { updateLocalGitRepositories(); } }  }
GitWorkflowRepository extends FileBasedWorkflowRepository implements WorkflowRepository, FileBasedWorkflowRepositoryMXBean { public synchronized void setBranch(String branch) throws IOException, GitAPIException { this.branch = branch; if (isUp()) { updateLocalGitRepositories(); } }  synchronized void setGitRepositoryDir(File gitRepositoryDir); synchronized void setGitRepositoryDir(String gitRepositoryDir); synchronized File getGitRepositoryDir(); synchronized String getOriginUri(); synchronized String getBranch(); synchronized void setOriginURI(String originUri); synchronized void setCredentials(String username, char[] password); synchronized void setBranch(String branch); @Override synchronized void setCheckIntervalMSec(int checkIntervalMSec); @Override synchronized void start(); @Override synchronized void shutdown(); synchronized boolean isUp(); }
GitWorkflowRepository extends FileBasedWorkflowRepository implements WorkflowRepository, FileBasedWorkflowRepositoryMXBean { public synchronized void setBranch(String branch) throws IOException, GitAPIException { this.branch = branch; if (isUp()) { updateLocalGitRepositories(); } }  synchronized void setGitRepositoryDir(File gitRepositoryDir); synchronized void setGitRepositoryDir(String gitRepositoryDir); synchronized File getGitRepositoryDir(); synchronized String getOriginUri(); synchronized String getBranch(); synchronized void setOriginURI(String originUri); synchronized void setCredentials(String username, char[] password); synchronized void setBranch(String branch); @Override synchronized void setCheckIntervalMSec(int checkIntervalMSec); @Override synchronized void start(); @Override synchronized void shutdown(); synchronized boolean isUp(); static final String ORIGIN; static final String DEFAULT_BRANCH; }