public class BitbucketCloudBranch extends Object implements BitbucketBranch
Modifier and Type | Class and Description |
---|---|
static class |
BitbucketCloudBranch.Head
Deprecated.
|
static class |
BitbucketCloudBranch.Target |
Constructor and Description |
---|
BitbucketCloudBranch(String name,
BitbucketCloudBranch.Target target,
List<BitbucketCloudBranch.Head> heads) |
BitbucketCloudBranch(String name,
String hash,
long dateInMillis) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Returns the head commit author for this branch.
|
long |
getDateMillis() |
String |
getMessage()
Returns the head commit message for this branch.
|
String |
getName() |
String |
getRawNode() |
boolean |
isActive() |
void |
setAuthor(String authorName) |
void |
setCommitClosure(Callable<BitbucketCommit> commitClosure) |
void |
setDateMillis(long dateInMillis) |
void |
setMessage(String message) |
void |
setRawNode(String hash) |
public BitbucketCloudBranch(@NonNull String name, @Nullable BitbucketCloudBranch.Target target, @Nullable List<BitbucketCloudBranch.Head> heads)
public String getRawNode()
getRawNode
in interface BitbucketBranch
public void setDateMillis(long dateInMillis)
public void setRawNode(String hash)
public String getName()
getName
in interface BitbucketBranch
public long getDateMillis()
getDateMillis
in interface BitbucketBranch
public boolean isActive()
public String getMessage()
BitbucketBranch
getMessage
in interface BitbucketBranch
public void setMessage(String message)
public String getAuthor()
BitbucketBranch
getAuthor
in interface BitbucketBranch
public void setAuthor(String authorName)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setCommitClosure(Callable<BitbucketCommit> commitClosure)
Copyright © 2016–2022. All rights reserved.