public static class VersionInfo.VersionInfoMapBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<String> |
BUTOR_GROUP_ID_PREDICATE |
| Constructor and Description |
|---|
VersionInfoMapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,VersionInfo> |
build()
Return a
Map<String,VersionInfo> that contain all potential versions found in the classpath. |
Map<String,VersionInfo> |
build(com.google.common.base.Predicate<String> keyFilterPredicate)
Return a
Map<String,VersionInfo> that contain all potential versions found in the classpath. |
public static final com.google.common.base.Predicate<String> BUTOR_GROUP_ID_PREDICATE
public Map<String,VersionInfo> build()
Map<String,VersionInfo> that contain all potential versions found in the classpath.public Map<String,VersionInfo> build(com.google.common.base.Predicate<String> keyFilterPredicate)
Map<String,VersionInfo> that contain all potential versions found in the classpath.
The key consist of groupId/artifactId
Allow to provide a key predicate that will be used for filtering,keyFilterPredicate - filterCopyright © 2018–2019 Butor Inc.. All rights reserved.