@Named public class ImporterResolver extends Object
| Constructor and Description |
|---|
ImporterResolver(Map<String,ArtifactImporter> artifactImporters) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactImporter |
getImporter(Path extractDir) |
ArtifactImporter |
getImporter(String artifactType) |
@Inject
public ImporterResolver(@Value(value="#{artifactImporters}")
Map<String,ArtifactImporter> artifactImporters)
public ArtifactImporter getImporter(String artifactType)
public ArtifactImporter getImporter(Path extractDir)
Copyright © 2020. All rights reserved.