org.apache.maven.index
Class ArtifactInfoGroup

java.lang.Object
  extended by org.apache.maven.index.ArtifactInfoGroup

public class ArtifactInfoGroup
extends Object

An object that holds grouped sets of ArtifactInfos in case of grouped search.

Author:
Tamas Cservenak

Field Summary
 Set<ArtifactInfo> artifactInfos
           
 
Constructor Summary
ArtifactInfoGroup(String groupKey)
           
ArtifactInfoGroup(String groupKey, Comparator<ArtifactInfo> comparator)
           
 
Method Summary
 boolean addArtifactInfo(ArtifactInfo artifactInfo)
           
 Set<ArtifactInfo> getArtifactInfos()
           
 String getGroupKey()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

artifactInfos

public final Set<ArtifactInfo> artifactInfos
Constructor Detail

ArtifactInfoGroup

public ArtifactInfoGroup(String groupKey)

ArtifactInfoGroup

public ArtifactInfoGroup(String groupKey,
                         Comparator<ArtifactInfo> comparator)
Method Detail

getGroupKey

public String getGroupKey()

addArtifactInfo

public boolean addArtifactInfo(ArtifactInfo artifactInfo)

getArtifactInfos

public Set<ArtifactInfo> getArtifactInfos()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.