public class BitbucketServerCommit extends Object implements BitbucketCommit
Constructor and Description |
---|
BitbucketServerCommit(String hash) |
BitbucketServerCommit(String message,
String hash,
long dateMillis,
BitbucketServerAuthor author) |
BitbucketServerCommit(String message,
String hash,
long dateMillis,
String author) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Returns the head commit author for this branch.
|
String |
getDate() |
long |
getDateMillis() |
String |
getHash() |
String |
getMessage() |
void |
setAuthor(String author) |
void |
setDate(String date) |
void |
setDateMillis(long dateMillis) |
void |
setHash(String hash) |
void |
setMessage(String message) |
public BitbucketServerCommit(@NonNull String message, @NonNull String hash, @NonNull long dateMillis, @Nullable BitbucketServerAuthor author)
public BitbucketServerCommit(String message, String hash, long dateMillis, String author)
public BitbucketServerCommit(String hash)
public String getMessage()
getMessage
in interface BitbucketCommit
public String getDate()
getDate
in interface BitbucketCommit
public String getHash()
getHash
in interface BitbucketCommit
public long getDateMillis()
getDateMillis
in interface BitbucketCommit
public void setMessage(String message)
public void setDate(String date)
public void setHash(String hash)
public void setDateMillis(long dateMillis)
public String getAuthor()
BitbucketCommit
getAuthor
in interface BitbucketCommit
public void setAuthor(String author)
Copyright © 2016–2022. All rights reserved.