Package com.atlassian.bamboo.tag
Class VcsTagImpl
- java.lang.Object
-
- com.atlassian.bamboo.tag.VcsTagImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,TagAndRevision
,VcsTag
,NameProvider
@Entity public class VcsTagImpl extends Object implements VcsTag
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.tag.TagAndRevision
COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description VcsTagImpl()
VcsTagImpl(TagAndRevision tagAndRevision)
VcsTagImpl(String name, String revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
String
getName()
RepositoryDataEntity
getRepositoryData()
returns repository data for repository where the tag isString
getRevision()
void
setId(long id)
void
setName(String name)
set name of tagvoid
setRepositoryData(RepositoryDataEntity repositoryData)
sets repository datavoid
setRevision(String revision)
set revision for tag-
Methods 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 Detail
-
VcsTagImpl
public VcsTagImpl()
-
VcsTagImpl
public VcsTagImpl(TagAndRevision tagAndRevision)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceBambooObject
-
getName
public String getName()
- Specified by:
getName
in interfaceNameProvider
- Specified by:
getName
in interfaceTagAndRevision
- Returns:
- name of tag
-
getRevision
public String getRevision()
- Specified by:
getRevision
in interfaceTagAndRevision
- Returns:
- revision for tag
-
setRevision
public void setRevision(String revision)
Description copied from interface:VcsTag
set revision for tag- Specified by:
setRevision
in interfaceVcsTag
-
getRepositoryData
public RepositoryDataEntity getRepositoryData()
Description copied from interface:VcsTag
returns repository data for repository where the tag is- Specified by:
getRepositoryData
in interfaceVcsTag
-
setRepositoryData
public void setRepositoryData(RepositoryDataEntity repositoryData)
Description copied from interface:VcsTag
sets repository data- Specified by:
setRepositoryData
in interfaceVcsTag
-
-