public class BitbucketServerBranch extends Object implements BitbucketBranch
Constructor and Description |
---|
BitbucketServerBranch() |
BitbucketServerBranch(String name,
String headHash) |
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() |
long |
getTimestamp() |
void |
setAuthor(String author) |
void |
setCommitClosure(Callable<BitbucketCommit> commitClosure) |
void |
setDisplayId(String displayId) |
void |
setLatestCommit(String latestCommit) |
void |
setMessage(String message) |
void |
setName(String displayId) |
void |
setRawNode(String latestCommit) |
void |
setTimestamp(long timestamp) |
public String getRawNode()
getRawNode
in interface BitbucketBranch
public String getName()
getName
in interface BitbucketBranch
public long getTimestamp()
public long getDateMillis()
getDateMillis
in interface BitbucketBranch
public void setDisplayId(String displayId)
public void setLatestCommit(String latestCommit)
public void setName(String displayId)
public void setRawNode(String latestCommit)
public void setTimestamp(long timestamp)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setCommitClosure(Callable<BitbucketCommit> commitClosure)
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 author)
Copyright © 2016–2022. All rights reserved.