public class Differential
extends java.lang.Object
Constructor and Description |
---|
Differential(net.sf.json.JSONObject rawJSON) |
Modifier and Type | Method and Description |
---|---|
PhabricatorPostbuildSummaryAction |
createSummary(java.lang.String phabricatorURL) |
void |
decorate(hudson.model.Run<?,?> build,
java.lang.String phabricatorURL) |
java.lang.String |
getAuthorEmail() |
java.lang.String |
getBaseCommit()
Return the base commit of the diff
|
java.lang.String |
getBranch()
Return the local branch name
|
java.util.Set<java.lang.String> |
getChangedFiles()
Get the list of changed files in the diff.
|
java.lang.String |
getCommitMessage()
Get the differential commit message.
|
java.lang.String |
getDiffID() |
java.lang.String |
getPhabricatorLink(java.lang.String phabricatorURL) |
java.lang.String |
getRevisionID(boolean formatted) |
void |
setCommitMessage(java.lang.String commitMesasge)
Set the differential commit message.
|
public java.lang.String getDiffID()
public java.lang.String getRevisionID(boolean formatted)
public java.lang.String getPhabricatorLink(java.lang.String phabricatorURL)
public void decorate(hudson.model.Run<?,?> build, java.lang.String phabricatorURL)
public PhabricatorPostbuildSummaryAction createSummary(java.lang.String phabricatorURL)
public java.lang.String getAuthorEmail()
public java.lang.String getBaseCommit()
public java.lang.String getBranch()
public java.lang.String getCommitMessage()
public void setCommitMessage(java.lang.String commitMesasge)
commitMesasge
- the differential commit message.public java.util.Set<java.lang.String> getChangedFiles()