public class AssemblaMergeRequestCause extends AssemblaCause
Constructor and Description |
---|
AssemblaMergeRequestCause(Integer mergeRequestId,
String sourceRepositoryUrl,
String sourceRepositoryName,
String sourceBranch,
String targetRepositoryUrl,
String targetBranch,
String commitId,
String description,
String sourceSpaceId,
String title,
String author,
String action) |
Modifier and Type | Method and Description |
---|---|
static AssemblaMergeRequestCause |
fromMergeRequest(MergeRequest mr,
SpaceTool sourceTool,
SpaceTool targetTool,
WebhookPayload payload) |
String |
getAbbreviatedTitle() |
Integer |
getMergeRequestId() |
String |
getShortDescription() |
String |
getTargetBranch() |
String |
getTargetRepositoryUrl() |
Boolean |
isCreated() |
boolean |
isFromFork() |
Boolean |
isIgnored() |
Boolean |
isMerged() |
Boolean |
isUpdated() |
getAuthorName, getCommitId, getDescription, getSourceBranch, getSourceRepositoryName, getSourceRepositoryUrl, getSourceSpaceId, getTitle, toString
public AssemblaMergeRequestCause(Integer mergeRequestId, String sourceRepositoryUrl, String sourceRepositoryName, String sourceBranch, String targetRepositoryUrl, String targetBranch, String commitId, String description, String sourceSpaceId, String title, String author, String action)
public Integer getMergeRequestId()
public String getTargetBranch()
public String getAbbreviatedTitle()
public String getTargetRepositoryUrl()
public Boolean isCreated()
public Boolean isUpdated()
public Boolean isMerged()
public Boolean isIgnored()
public String getShortDescription()
getShortDescription
in class hudson.model.Cause
public static AssemblaMergeRequestCause fromMergeRequest(MergeRequest mr, SpaceTool sourceTool, SpaceTool targetTool, WebhookPayload payload)
public boolean isFromFork()
Copyright © 2016–2020. All rights reserved.