Package org.gitlab4j.api.webhook
Class JobEvent
- java.lang.Object
-
- org.gitlab4j.api.webhook.AbstractEvent
-
- org.gitlab4j.api.webhook.JobEvent
-
- All Implemented Interfaces:
Event
public class JobEvent extends AbstractEvent
-
-
Field Summary
Fields Modifier and Type Field Description static String
JOB_HOOK_X_GITLAB_EVENT
static String
OBJECT_KIND
-
Constructor Summary
Constructors Constructor Description JobEvent()
-
Method Summary
-
Methods inherited from class org.gitlab4j.api.webhook.AbstractEvent
getRequestQueryString, getRequestUrl, setRequestQueryString, setRequestUrl
-
-
-
-
Field Detail
-
JOB_HOOK_X_GITLAB_EVENT
public static final String JOB_HOOK_X_GITLAB_EVENT
- See Also:
- Constant Field Values
-
OBJECT_KIND
public static final String OBJECT_KIND
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectKind
public String getObjectKind()
-
setObjectKind
public void setObjectKind(String objectKind)
-
getRef
public String getRef()
-
setRef
public void setRef(String ref)
-
getTag
public Boolean getTag()
-
setTag
public void setTag(Boolean tag)
-
getBeforeSha
public String getBeforeSha()
-
setBeforeSha
public void setBeforeSha(String beforeSha)
-
getSha
public String getSha()
-
setSha
public void setSha(String sha)
-
getJobId
public Integer getJobId()
-
setJobId
public void setJobId(Integer jobId)
-
getJobName
public String getJobName()
-
setJobName
public void setJobName(String jobName)
-
getJobStage
public String getJobStage()
-
setJobStage
public void setJobStage(String jobStage)
-
getJobStatus
public String getJobStatus()
-
setJobStatus
public void setJobStatus(String jobStatus)
-
getJobStarted_at
public Date getJobStarted_at()
-
setJobStarted_at
public void setJobStarted_at(Date jobStarted_at)
-
getJobFinished_at
public Date getJobFinished_at()
-
setJobFinished_at
public void setJobFinished_at(Date jobFinished_at)
-
getJobDuration
public Integer getJobDuration()
-
setJobDuration
public void setJobDuration(Integer jobDuration)
-
getJobAllowFailure
public Boolean getJobAllowFailure()
-
setJobAllowFailure
public void setJobAllowFailure(Boolean jobAllowFailure)
-
getJobFailureReason
public String getJobFailureReason()
-
setJobFailureReason
public void setJobFailureReason(String jobFailureReason)
-
getProjectId
public Integer getProjectId()
-
setProjectId
public void setProjectId(Integer projectId)
-
getProjectName
public String getProjectName()
-
setProjectName
public void setProjectName(String projectName)
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getCommit
public BuildCommit getCommit()
-
setCommit
public void setCommit(BuildCommit commit)
-
getRepository
public EventRepository getRepository()
-
setRepository
public void setRepository(EventRepository repository)
-
-