Package com.atlassian.bamboo.tag
Class VcsTagImpl
java.lang.Object
com.atlassian.bamboo.tag.VcsTagImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,TagAndRevision
,VcsTag
,NameProvider
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.tag.TagAndRevision
COMPARATOR
-
Constructor Summary
ConstructorDescriptionVcsTagImpl
(TagAndRevision tagAndRevision) VcsTagImpl
(String name, String revision) -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
getName()
returns repository data for repository where the tag isvoid
setId
(long id) void
set name of tagvoid
setRepositoryData
(RepositoryDataEntity repositoryData) sets repository datavoid
setRevision
(String revision) set revision for tagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.tag.TagAndRevision
getPrettyString
-
Constructor Details
-
VcsTagImpl
public VcsTagImpl() -
VcsTagImpl
-
VcsTagImpl
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id) - Specified by:
setId
in interfaceBambooObject
-
getName
- Specified by:
getName
in interfaceNameProvider
- Specified by:
getName
in interfaceTagAndRevision
- Returns:
- name of tag
-
setName
Description copied from interface:VcsTag
set name of tag -
getRevision
- Specified by:
getRevision
in interfaceTagAndRevision
- Returns:
- revision for tag
-
setRevision
Description copied from interface:VcsTag
set revision for tag- Specified by:
setRevision
in interfaceVcsTag
-
getRepositoryData
Description copied from interface:VcsTag
returns repository data for repository where the tag is- Specified by:
getRepositoryData
in interfaceVcsTag
-
setRepositoryData
Description copied from interface:VcsTag
sets repository data- Specified by:
setRepositoryData
in interfaceVcsTag
-