Interface FindPromotionStrategy
-
public interface FindPromotionStrategy
Finds build promotion which 'contains' specified VCS modification. Meaning of 'contains' is defined in the implementations of this interface.- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderedBuild
forModification(SVcsModification m)
Returns ordered build that contains specified modification, or null if no such build is found.String
getId()
Id of the strategy which can be used for caching purposes (to remember builds returned by the strategy in some cache).
-
-
-
Method Detail
-
forModification
@Nullable OrderedBuild forModification(@NotNull SVcsModification m)
Returns ordered build that contains specified modification, or null if no such build is found.- Parameters:
m
- modification of interest- Returns:
- see above
-
getId
@NotNull String getId()
Id of the strategy which can be used for caching purposes (to remember builds returned by the strategy in some cache).- Returns:
-
-