public class GitUri extends Object
git:gitSpecificUri?branchName#relativeDirectory
.Constructor and Description |
---|
GitUri(String gitRepositoryUri,
String branchName,
String resource)
Constructs the URI based on the parts.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBranchName()
Branch name.
|
String |
getGitRepositoryUri()
Git repository URI.
|
String |
getResource() |
int |
hashCode() |
GitUri |
resolve(String fragment)
Resolves a new
GitUri with the fragment. |
String |
toString() |
public String getBranchName()
public String getGitRepositoryUri()
public String getResource()
public GitUri resolve(String fragment)
GitUri
with the fragment. The schema portion will
find the last occurrence of a URI path segment with a "?" character as
the Git URI with the branch name.fragment
- may contain escaped characters.GitUri
Copyright © 2012–2014 Trajano. All rights reserved.