Class MavenDependencyCauseHelper
java.lang.Object
org.jenkinsci.plugins.pipeline.maven.cause.MavenDependencyCauseHelper
- Author:
- Cyrille Le Clerc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact>
isSameCause
(MavenDependencyCause newMavenCause, Cause oldMavenCause) Return matching artifact if the given causes refer to common Maven artifact.static List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact>
isSameCause
(MavenDependencyCause newMavenCause, List<Cause> oldMavenCauses)
-
Constructor Details
-
MavenDependencyCauseHelper
public MavenDependencyCauseHelper()
-
-
Method Details
-
isSameCause
@NonNull public static List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> isSameCause(MavenDependencyCause newMavenCause, Cause oldMavenCause) Return matching artifact if the given causes refer to common Maven artifact. Empty list if there are no matching artifact -
isSameCause
public static List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> isSameCause(MavenDependencyCause newMavenCause, List<Cause> oldMavenCauses)
-