|Modifier and Type||Method and Description|
Converts the given url to a set of VCS root properties valid enough for creating a VCS root.
@Nullable java.util.Map<java.lang.String,java.lang.String> convertToVcsRootProperties(@NotNull VcsUrl url, @NotNull VcsOperationContext context) throws VcsException
UrlSupport.convertToVcsRootProperties(VcsUrl)but also accepts a context where the operation is performed. A plugin can use this context to find additional data required to create a valid VCS root properties map, for instance, SSH keys.
url- url to repository with optional credentials
context- a context where operation is performed
VcsException- if URL looks like related to VCS plugin, but properties could not be created because of some problems