PageRenderTime 125ms CodeModel.GetById 66ms app.highlight 2ms RepoModel.GetById 55ms app.codeStats 0ms

/src/org/bitbucket/connectors/jetbrains/vcs/VcsHandler.java

https://bitbucket.org/atlassian/jetbrains-bitbucket-connector/
Java | 26 lines | 13 code | 8 blank | 5 comment | 0 complexity | f1c5c9904c2158a5ac9607e31f24002c MD5 | raw file
 1package org.bitbucket.connectors.jetbrains.vcs;
 2
 3import com.intellij.openapi.project.Project;
 4import com.intellij.openapi.vcs.AbstractVcs;
 5import com.intellij.openapi.vfs.VirtualFile;
 6
 7import java.io.IOException;
 8
 9/**
10 * User: leha2000
11 * Date: Oct 14, 2011
12 * Time: 11:34:00 AM
13 */
14public interface VcsHandler {
15    boolean checkout(Project project, String folder, String repositoryUrl);
16
17    boolean push(Project project, VirtualFile root, String repositoryUrl);
18
19    void setRepositoryDefaultUrl(Project project, VirtualFile root, String repositoryUrl) throws IOException;
20
21    VirtualFile getRepositoryRoot(VirtualFile folder);
22
23    boolean initRepository(Project project, VirtualFile root);
24
25    AbstractVcs getVcs(Project project);
26}