Class Job

java.lang.Object
org.gitlab4j.api.models.Job

public class Job
extends Object
  • Constructor Details

    • Job

      public Job()
  • Method Details

    • getId

      public Integer getId()
    • setId

      public void setId​(Integer id)
    • getCommit

      public Commit getCommit()
    • setCommit

      public void setCommit​(Commit commit)
    • getCreatedAt

      public Date getCreatedAt()
    • setCreatedAt

      public void setCreatedAt​(Date createdAt)
    • getFinishedAt

      public Date getFinishedAt()
    • setFinishedAt

      public void setFinishedAt​(Date finishedAt)
    • getArtifactsExpireAt

      public Date getArtifactsExpireAt()
    • setArtifactsExpireAt

      public void setArtifactsExpireAt​(Date artifactsExpireAt)
    • getName

      public String getName()
    • setName

      public void setName​(String name)
    • getPipeline

      public Pipeline getPipeline()
    • setPipeline

      public void setPipeline​(Pipeline pipeline)
    • getRef

      public String getRef()
    • setRef

      public void setRef​(String ref)
    • getUser

      public User getUser()
    • setUser

      public void setUser​(User user)
    • getStartedAt

      public Date getStartedAt()
    • setStartedAt

      public void setStartedAt​(Date startedAt)
    • getTag

      public Boolean getTag()
    • setTag

      public void setTag​(Boolean tag)
    • getWebUrl

      public String getWebUrl()
    • setWebUrl

      public void setWebUrl​(String webUrl)
    • getStage

      public String getStage()
    • setStage

      public void setStage​(String stage)
    • getStatus

      public JobStatus getStatus()
    • setStatus

      public void setStatus​(JobStatus status)
    • getCoverage

      public String getCoverage()
    • setCoverage

      public void setCoverage​(String coverage)
    • getArtifactsFile

      public ArtifactsFile getArtifactsFile()
    • setArtifactsFile

      public void setArtifactsFile​(ArtifactsFile artifactsFile)
    • getArtifacts

      public List<Artifact> getArtifacts()
    • setArtifacts

      public void setArtifacts​(List<Artifact> artifacts)
    • getRunner

      public Runner getRunner()
    • setRunner

      public void setRunner​(Runner runner)
    • getWhen

      public String getWhen()
    • setWhen

      public void setWhen​(String when)
    • getManual

      public Boolean getManual()
    • setManual

      public void setManual​(Boolean manual)
    • getAllowFailure

      public Boolean getAllowFailure()
    • setAllowFailure

      public void setAllowFailure​(Boolean allowFailure)
    • getDuration

      public Float getDuration()
    • setDuration

      public void setDuration​(Float duration)
    • getProject

      public Project getProject()
    • setProject

      public void setProject​(Project project)
    • withId

      public Job withId​(Integer id)
    • withCommit

      public Job withCommit​(Commit commit)
    • withCoverage

      public Job withCoverage​(String coverage)
    • withCreatedAt

      public Job withCreatedAt​(Date createdAt)
    • withFinishedAt

      public Job withFinishedAt​(Date finishedAt)
    • withName

      public Job withName​(String name)
    • withPipeline

      public Job withPipeline​(Pipeline pipeline)
    • withRef

      public Job withRef​(String ref)
    • withRunner

      public Job withRunner​(Runner runner)
    • withUser

      public Job withUser​(User user)
    • withStartedAt

      public Job withStartedAt​(Date startedAt)
    • withArtifactsFile

      public Job withArtifactsFile​(ArtifactsFile artifactsFile)
    • withTag

      public Job withTag​(Boolean tag)
    • withStage

      public Job withStage​(String stage)
    • withStatus

      public Job withStatus​(JobStatus status)
    • withWhen

      public Job withWhen​(String when)
    • withManual

      public Job withManual​(Boolean manual)
    • withAllowFailure

      public Job withAllowFailure​(Boolean allowFailure)
    • withDuration

      public Job withDuration​(Float duration)
    • withProject

      public Job withProject​(Project project)
    • toString

      public String toString()
      Overrides:
      toString in class Object