Package io.quarkus.domino
Class ArtifactSet
java.lang.Object
io.quarkus.domino.ArtifactSet
A set of GAVs defined by includes and excludes
ArtifactCoordsPatterns.- Author:
- Peter Palaga
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidappendExcludes(Appendable out) Appendsexcludesto the givenoutseparating them by comma.voidappendIncludes(Appendable out) Appendsincludesto the givenoutseparating them by comma.static ArtifactSet.Builderbuilder()booleancontains(io.quarkus.maven.dependency.ArtifactCoords coords) Whether this artifact set includes an artifact with the given coordinatesbooleanWhether this artifact set includes an artifact with the given coordinatesbooleaninthashCode()static ArtifactSettoString()
-
Method Details
-
builder
-
includeAll
-
appendExcludes
Appendsexcludesto the givenoutseparating them by comma.- Parameters:
out- anAppendableto append to- Throws:
IOException- in case of a failure
-
appendIncludes
Appendsincludesto the givenoutseparating them by comma.- Parameters:
out- anAppendableto append to- Throws:
IOException- in case of a failure
-
contains
public boolean contains(String groupId, String artifactId, String type, String classifier, String version) Whether this artifact set includes an artifact with the given coordinates- Parameters:
groupId- groupIdartifactId- artifactIdtype- cannot benullclassifier- can benullversion- version- Returns:
trueif the given GAV triple is a member of thisArtifactSetandfalseotherwise
-
contains
public boolean contains(io.quarkus.maven.dependency.ArtifactCoords coords) Whether this artifact set includes an artifact with the given coordinates- Parameters:
coords- artifact coordinates- Returns:
trueif the given GAV triple is a member of thisArtifactSetandfalseotherwise
-
equals
-
getExcludes
- Returns:
- the list of excludes
-
getIncludes
- Returns:
- the list of includes
-
hashCode
public int hashCode() -
toString
-