Class ExpectedArtifact
- java.lang.Object
-
- com.netflix.spinnaker.kork.artifacts.model.ExpectedArtifact
-
public final class ExpectedArtifact extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpectedArtifact.ExpectedArtifactBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(Artifact other)Decide if the "matchArtifact" matches the incoming artifact.
-
-
-
Method Detail
-
matches
public boolean matches(Artifact other)
Decide if the "matchArtifact" matches the incoming artifact. Any fields not specified in the "matchArtifact" are not compared.- Parameters:
other- is the artifact to match against- Returns:
- true i.f.f. the artifacts match
-
-