public class GitlabEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GitlabEvent.ActionType |
static class |
GitlabEvent.TargetType |
Constructor and Description |
---|
GitlabEvent() |
Modifier and Type | Method and Description |
---|---|
String |
getActionName()
It would be reasonable to expect that this matches up with
ActionType, below, but it doesn't.
|
GitlabUser |
getAuthor()
For many events, this seem to have nothing to do with any
"author", but is in fact the user who performed the action.
|
Integer |
getAuthorId()
See()
getAuthor() for note |
String |
getAuthorUsername()
See
getAuthor() for note |
Date |
getCreatedAt() |
String |
getProjectId() |
GitlabPushData |
getPushData() |
Integer |
getTargetId() |
Integer |
getTargetIid() |
String |
getTargetTitle() |
GitlabEvent.TargetType |
getTargetType() |
String |
getTitle() |
void |
setActionName(String actionName) |
void |
setAuthor(GitlabUser author) |
void |
setAuthorId(Integer authorId) |
void |
setAuthorUsername(String authorUsername) |
void |
setCreatedAt(Date createdAt) |
void |
setProjectId(String projectId) |
void |
setPushData(GitlabPushData pushData) |
void |
setTargetId(Integer targetId) |
void |
setTargetIid(Integer targetIid) |
void |
setTargetTitle(String targetTitle) |
void |
setTargetType(GitlabEvent.TargetType targetType) |
void |
setTitle(String title) |
public static final String URL
public String getTitle()
public String getProjectId()
public String getActionName()
public Integer getTargetId()
public Integer getTargetIid()
public GitlabEvent.TargetType getTargetType()
public Integer getAuthorId()
getAuthor()
for notepublic String getTargetTitle()
public Date getCreatedAt()
public GitlabUser getAuthor()
public String getAuthorUsername()
getAuthor()
for notepublic GitlabPushData getPushData()
public void setTitle(String title)
public void setProjectId(String projectId)
public void setActionName(String actionName)
public void setTargetId(Integer targetId)
public void setTargetIid(Integer targetIid)
public void setTargetType(GitlabEvent.TargetType targetType)
public void setAuthorId(Integer authorId)
public void setTargetTitle(String targetTitle)
public void setCreatedAt(Date createdAt)
public void setAuthor(GitlabUser author)
public void setAuthorUsername(String authorUsername)
public void setPushData(GitlabPushData pushData)
Copyright © 2019. All rights reserved.