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
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.model.BlueChangeSetEntry
AFFECTED_PATHS, AUTHOR, CHECKOUT_COUNT, COMMIT_ID, ISSUES, MESSAGE, TIMESTAMP, URL
-
Constructor Summary
ConstructorDescriptionChangeSetResource
(io.jenkins.blueocean.rest.model.BlueOrganization organization, ChangeLogSet.Entry changeSet, io.jenkins.blueocean.rest.Reachable parent) -
Method Summary
Modifier and TypeMethodDescriptionio.jenkins.blueocean.rest.model.BlueUser
Collection<io.jenkins.blueocean.rest.model.BlueIssue>
io.jenkins.blueocean.rest.hal.Link
getLink()
getMsg()
getUrl()
io.jenkins.blueocean.rest.model.BlueChangeSetEntry
setCheckoutCount
(int checkoutCount) Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
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 classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getTimestamp
- Specified by:
getTimestamp
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getUrl
- Specified by:
getUrl
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getCommitId
- Specified by:
getCommitId
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getMsg
- Specified by:
getMsg
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getAffectedPaths
- Specified by:
getAffectedPaths
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getIssues
- Specified by:
getIssues
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getCheckoutCount
- Specified by:
getCheckoutCount
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
setCheckoutCount
public io.jenkins.blueocean.rest.model.BlueChangeSetEntry setCheckoutCount(int checkoutCount) - Specified by:
setCheckoutCount
in classio.jenkins.blueocean.rest.model.BlueChangeSetEntry
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink()
-