Class DefaultGitVersionTag
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.ext.git.DefaultGitVersionTag
- All Implemented Interfaces:
Proxyable, Resource, GitVersionTag
Represents a Git version tag.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultGitVersionTag(Project project, String versionTag) Initializes a new Git version tag. -
Method Summary
Methods inherited from class ResourceObject
isLocked, name, name, typeMethods inherited from interface Resource
asOf, asOfLocalized, cleanup, isNewerThan, name, type
-
Constructor Details
-
DefaultGitVersionTag
Initializes a new Git version tag.- Parameters:
project- the projectversionTag- the version tag
-
-
Method Details
-
project
Description copied from interface:GitVersionTagReturns the project the tag is associated with.- Specified by:
projectin interfaceGitVersionTag- Returns:
- the project
-
tag
Description copied from interface:GitVersionTagReturns the tag.- Specified by:
tagin interfaceGitVersionTag- Returns:
- the tag
-
hashCode
- Overrides:
hashCodein classResourceObject
-
equals
- Overrides:
equalsin classResourceObject
-
toString
- Overrides:
toStringin classResourceObject
-