Class BitbucketServerBranch
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.server.client.branch.BitbucketServerBranch
- All Implemented Interfaces:
BitbucketBranch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the head commit author for this branch.long
Returns the head commit message for this branch.getName()
long
void
void
setCommitClosure
(Callable<BitbucketCommit> commitClosure) void
setDisplayId
(String displayId) void
setLatestCommit
(String latestCommit) void
setMessage
(String message) void
void
setRawNode
(String latestCommit) void
setTimestamp
(long timestamp)
-
Constructor Details
-
BitbucketServerBranch
public BitbucketServerBranch() -
BitbucketServerBranch
-
-
Method Details
-
getRawNode
- Specified by:
getRawNode
in interfaceBitbucketBranch
- Returns:
- the head commit node of this branch
-
getName
- Specified by:
getName
in interfaceBitbucketBranch
- Returns:
- the branch name
-
getTimestamp
public long getTimestamp() -
getDateMillis
public long getDateMillis()- Specified by:
getDateMillis
in interfaceBitbucketBranch
- Returns:
- the commit milliseconds from epoch
-
setDisplayId
-
setLatestCommit
-
setName
-
setRawNode
-
setTimestamp
public void setTimestamp(long timestamp) -
setCommitClosure
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setCommitClosure(Callable<BitbucketCommit> commitClosure) -
getMessage
Description copied from interface:BitbucketBranch
Returns the head commit message for this branch.- Specified by:
getMessage
in interfaceBitbucketBranch
- Returns:
- the head commit message of this branch
-
setMessage
-
getAuthor
Description copied from interface:BitbucketBranch
Returns the head commit author for this branch.- Specified by:
getAuthor
in interfaceBitbucketBranch
- Returns:
- the head commit author of this branch
-
setAuthor
-