public class ArtifactGroup extends ItemList<Artifact> implements Comparable<ArtifactGroup>
Constructor and Description |
---|
ArtifactGroup(int startLevel)
Create a new artifact group with the level.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Artifact item)
Add a new item
|
int |
compareTo(ArtifactGroup o) |
int |
getStartLevel()
Get the start level.
|
Artifact |
search(Artifact template)
Search an artifact with the same groupId, artifactId, type and classifier.
|
String |
toString() |
getComment, setComment
getLocation, setLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ArtifactGroup(int startLevel)
startLevel
- The start level.public int getStartLevel()
public Artifact search(Artifact template)
template
- A template artifactnull
.public int compareTo(ArtifactGroup o)
compareTo
in interface Comparable<ArtifactGroup>
Copyright © 2017 The Apache Software Foundation. All rights reserved.