Enumerates locally available grapes. @return grapes grouped by organization and module
()
| 306 | * @return grapes grouped by organization and module |
| 307 | */ |
| 308 | public static Map<String, Map<String, List<String>>> enumerateGrapes() { |
| 309 | Map<String, Map<String, List<String>>> grapes = null; |
| 310 | if (enableGrapes) { |
| 311 | GrapeEngine instance = getInstance(); |
| 312 | if (instance != null) { |
| 313 | grapes = instance.enumerateGrapes(); |
| 314 | } |
| 315 | } |
| 316 | if (grapes == null) { |
| 317 | return Collections.emptyMap(); |
| 318 | } |
| 319 | return grapes; |
| 320 | } |
| 321 | |
| 322 | /** |
| 323 | * Resolves dependency coordinates to URIs. |
nothing calls this directly
no test coverage detected