Convenience methods to resolve various objects.
| Constructor and description |
|---|
ResolveService
(Repository repository) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Branch |
toBranch(java.lang.Object object)Resolves a branch from the given object. |
|
java.lang.String |
toBranchName(java.lang.Object object)Resolves a branch name from the given object. |
|
Commit |
toCommit(java.lang.Object object)Resolves a commit from the given object. |
|
java.lang.String |
toObjectId(java.lang.Object object)Resolves an object ID from the given object. |
|
java.lang.String |
toRevisionString(java.lang.Object object)Resolves a revision string that corresponds to the given object. |
|
Tag |
toTag(java.lang.Object object)Resolves a tag from the given object. |
|
java.lang.String |
toTagName(java.lang.Object object)Resolves a tag name from the given object. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Resolves a branch from the given object. Can handle any of the following types:
object - the object to resolveResolves a branch name from the given object. Can handle any of the following types:
object - the object to resolveResolves a commit from the given object. Can handle any of the following types:
String arguments can be in the format of any Git revision string.
object - the object to resolveResolves an object ID from the given object. Can handle any of the following types:
object - the object to resolveResolves a revision string that corresponds to the given object. Can handle any of the following types:
object - the object to resolveResolves a tag from the given object. Can handle any of the following types:
object - the object to resolveResolves a tag name from the given object. Can handle any of the following types:
object - the object to resolve