public class AnnotatedTag extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_NUMBER |
static String |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
long |
buildNumber() |
static AnnotatedTag |
create(String name,
String version,
long buildNumber) |
boolean |
equals(Object o) |
static AnnotatedTag |
fromRef(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.lib.Ref gitTag) |
int |
hashCode() |
String |
name() |
org.eclipse.jgit.lib.Ref |
ref() |
org.eclipse.jgit.lib.Ref |
saveAtHEAD(org.eclipse.jgit.api.Git git) |
String |
toString() |
String |
version() |
public static final String VERSION
public static final String BUILD_NUMBER
public static AnnotatedTag create(String name, String version, long buildNumber)
public static AnnotatedTag fromRef(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.Ref gitTag) throws IOException, org.eclipse.jgit.errors.IncorrectObjectTypeException
IOExceptionorg.eclipse.jgit.errors.IncorrectObjectTypeExceptionpublic String name()
public String version()
public long buildNumber()
public org.eclipse.jgit.lib.Ref saveAtHEAD(org.eclipse.jgit.api.Git git)
throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIExceptionpublic org.eclipse.jgit.lib.Ref ref()
Copyright © 2015–2017. All rights reserved.