Class AnnotatedTag
- java.lang.Object
-
- com.github.danielflower.mavenplugins.release.AnnotatedTag
-
public class AnnotatedTag extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringBUILD_NUMBERstatic StringVERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longbuildNumber()static AnnotatedTagcreate(String name, String version, long buildNumber)booleanequals(Object o)static AnnotatedTagfromRef(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.Ref gitTag)inthashCode()Stringname()org.eclipse.jgit.lib.Refref()org.eclipse.jgit.lib.RefsaveAtHEAD(org.eclipse.jgit.api.Git git)StringtoString()Stringversion()
-
-
-
Field Detail
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
BUILD_NUMBER
public static final String BUILD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static AnnotatedTag create(String name, String version, long buildNumber)
-
fromRef
public static AnnotatedTag fromRef(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.Ref gitTag) throws IOException, org.eclipse.jgit.errors.IncorrectObjectTypeException
- Throws:
IOExceptionorg.eclipse.jgit.errors.IncorrectObjectTypeException
-
name
public String name()
-
version
public String version()
-
buildNumber
public long buildNumber()
-
saveAtHEAD
public org.eclipse.jgit.lib.Ref saveAtHEAD(org.eclipse.jgit.api.Git git) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
ref
public org.eclipse.jgit.lib.Ref ref()
-
-