public abstract class VcsTaskHandler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VcsTaskHandler.TaskInfo |
Constructor and Description |
---|
VcsTaskHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cleanUpBranchName(java.lang.String suggestedName)
Update branchName to valid
|
abstract void |
closeTask(VcsTaskHandler.TaskInfo taskInfo,
VcsTaskHandler.TaskInfo original) |
abstract VcsTaskHandler.TaskInfo[] |
getAllExistingTasks() |
static VcsTaskHandler[] |
getAllHandlers(Project project) |
abstract VcsTaskHandler.TaskInfo [] |
getCurrentTasks() |
boolean |
isBranchNameValid(java.lang.String branchName)
Should check prohibited symbols and constructions; name ref conflicts depended on Repository will be checked separately if needed
|
abstract boolean |
isEnabled() |
abstract boolean |
isSyncEnabled() |
abstract VcsTaskHandler.TaskInfo |
startNewTask(java.lang.String taskName) |
abstract boolean |
switchToTask(VcsTaskHandler.TaskInfo taskInfo,
java.lang.Runnable invokeAfter) |
public static VcsTaskHandler[] getAllHandlers(Project project)
public abstract boolean isEnabled()
public abstract VcsTaskHandler.TaskInfo startNewTask(java.lang.String taskName)
public abstract boolean switchToTask(VcsTaskHandler.TaskInfo taskInfo, java.lang.Runnable invokeAfter)
public abstract void closeTask(VcsTaskHandler.TaskInfo taskInfo, VcsTaskHandler.TaskInfo original)
public abstract boolean isSyncEnabled()
public abstract VcsTaskHandler.TaskInfo [] getCurrentTasks()
public abstract VcsTaskHandler.TaskInfo[] getAllExistingTasks()
public boolean isBranchNameValid(java.lang.String branchName)
branchName
- to checkpublic java.lang.String cleanUpBranchName(java.lang.String suggestedName)
suggestedName
- suggested name