public class ArtifactGroup extends ItemList<Artifact> implements java.lang.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.
|
java.lang.String |
toString() |
getComment, setComment
getLocation, setLocation
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 java.lang.Comparable<ArtifactGroup>
Copyright © 2018 The Apache Software Foundation. All rights reserved.