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 Link icon

    • ChangeSetResource Link icon

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

    • getAuthor Link icon

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

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

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

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

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

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

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

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

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

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