public class LicenseMap extends TreeMap<String,SortedSet<org.apache.maven.project.MavenProject>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
UNKNOWN_LICENSE_MESSAGE |
| Constructor and Description |
|---|
LicenseMap()
Default contructor.
|
| Modifier and Type | Method and Description |
|---|---|
SortedSet<org.apache.maven.project.MavenProject> |
put(String key,
org.apache.maven.project.MavenProject value)
Store in the license map a project to a given license.
|
SortedMap<org.apache.maven.project.MavenProject,String[]> |
toDependencyMap()
Build a dependencies map from the license map, this is a map of license for each project registered in the
license map.
|
LicenseMap |
toLicenseMapOrderByName() |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmpty, toStringpublic static final String UNKNOWN_LICENSE_MESSAGE
public SortedSet<org.apache.maven.project.MavenProject> put(String key, org.apache.maven.project.MavenProject value)
key - the license on which to associate the gieven projectvalue - project to register in the license mappublic SortedMap<org.apache.maven.project.MavenProject,String[]> toDependencyMap()
public LicenseMap toLicenseMapOrderByName()
Copyright © 2010–2014 Codehaus. All rights reserved.