Class ChangeSetResource

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueChangeSetEntry
io.jenkins.blueocean.service.embedded.rest.ChangeSetResource
All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable

@ExportedBean public class ChangeSetResource extends io.jenkins.blueocean.rest.model.BlueChangeSetEntry
Represents a single commit as a REST resource.

Mostly we just let ChangeLogSet.Entry serve its properties, except a few places where we are more specific.

Author:
Vivek Pandey
  • Constructor Details

    • ChangeSetResource

      public ChangeSetResource(@NonNull io.jenkins.blueocean.rest.model.BlueOrganization organization, ChangeLogSet.Entry changeSet, io.jenkins.blueocean.rest.Reachable parent)
  • Method Details

    • getAuthor

      public io.jenkins.blueocean.rest.model.BlueUser getAuthor()
      Specified by:
      getAuthor in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getTimestamp

      public String getTimestamp()
      Specified by:
      getTimestamp in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getUrl

      public String getUrl()
      Specified by:
      getUrl in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getCommitId

      public String getCommitId()
      Specified by:
      getCommitId in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getMsg

      public String getMsg()
      Specified by:
      getMsg in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getAffectedPaths

      public Collection<String> getAffectedPaths()
      Specified by:
      getAffectedPaths in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getIssues

      @Nullable public Collection<io.jenkins.blueocean.rest.model.BlueIssue> getIssues()
      Specified by:
      getIssues in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getCheckoutCount

      public Integer getCheckoutCount()
      Specified by:
      getCheckoutCount in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • setCheckoutCount

      public io.jenkins.blueocean.rest.model.BlueChangeSetEntry setCheckoutCount(int checkoutCount)
      Specified by:
      setCheckoutCount in class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()