Package org.vx68k.bitbucket.api
Interface BitbucketRef
-
- All Known Subinterfaces:
BitbucketBranch
- All Known Implementing Classes:
BitbucketClientBranch
,BitbucketClientRef
public interface BitbucketRef
Commit ref on Bitbucket Cloud.- Since:
- 5.0
- Author:
- Kaz Nishimura
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of the commit reference.BitbucketCommit
getTarget()
Returns the target of the commit reference.String
getType()
Returns the type of the commit reference.
-
-
-
Field Detail
-
BRANCH
static final String BRANCH
Type value for Git branches.- See Also:
- Constant Field Values
-
NAMED_BRANCH
static final String NAMED_BRANCH
Type value for Mercurial branches.- See Also:
- Constant Field Values
-
BOOKMARK
static final String BOOKMARK
Type value for Mercurial bookmarks.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
String getType()
Returns the type of the commit reference.- Returns:
- the type of the commit reference
-
getName
String getName()
Returns the name of the commit reference.- Returns:
- the name of the commit reference
-
getTarget
BitbucketCommit getTarget()
Returns the target of the commit reference.- Returns:
- the target of the commit reference
-
-