Package com.atlassian.bamboo.tag
Class TagAndRevisionImpl
- java.lang.Object
-
- com.atlassian.bamboo.tag.TagAndRevisionImpl
-
- All Implemented Interfaces:
TagAndRevision
public class TagAndRevisionImpl extends Object implements TagAndRevision
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
protected String
revision
-
Fields inherited from interface com.atlassian.bamboo.tag.TagAndRevision
COMPARATOR
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TagAndRevisionImpl()
TagAndRevisionImpl(TagAndRevision tagAndRevision)
TagAndRevisionImpl(String name, String revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
String
getRevision()
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.tag.TagAndRevision
getPrettyString
-
-
-
-
Constructor Detail
-
TagAndRevisionImpl
protected TagAndRevisionImpl()
-
TagAndRevisionImpl
public TagAndRevisionImpl(TagAndRevision tagAndRevision)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceTagAndRevision
- Returns:
- name of tag
-
getRevision
public String getRevision()
- Specified by:
getRevision
in interfaceTagAndRevision
- Returns:
- revision for tag
-
-