public interface RunWithSCM<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT> & RunWithSCM<JobT,RunT>>
Modifier and Type | Method and Description |
---|---|
default Set<User> |
calculateCulprits()
Method used for actually calculating the culprits from scratch.
|
List<ChangeLogSet<? extends ChangeLogSet.Entry>> |
getChangeSets()
Gets all
ChangeLogSet s currently associated with this item. |
Set<String> |
getCulpritIds()
Gets the ids for all
User s included in getChangeSets() for this item. |
default Set<User> |
getCulprits()
List of users who committed a change since the last non-broken build till now.
|
default boolean |
hasParticipant(User user)
Returns true if this user has made a commit to this build.
|
boolean |
shouldCalculateCulprits()
Determines whether culprits should be recalcuated or the existing
getCulpritIds() should be used instead. |
@Nonnull List<ChangeLogSet<? extends ChangeLogSet.Entry>> getChangeSets()
ChangeLogSet
s currently associated with this item.ChangeLogSet
s.@CheckForNull Set<String> getCulpritIds()
User
s included in getChangeSets()
for this item.RunWithSCM
instance with no culprits.boolean shouldCalculateCulprits()
getCulpritIds()
should be used instead.@Exported @Nonnull default Set<User> getCulprits()
This list at least always include people who made changes in this build, but if the previous build was a failure it also includes the culprit list from there.
@Nonnull default Set<User> calculateCulprits()
getCulprits()
and
overrides of getCulprits()
. Does not persist culprits information.default boolean hasParticipant(User user)
Copyright © 2004–2017. All rights reserved.