public class MavenRepositoryScannerPlugin extends com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<URL,MavenRepositoryDescriptor>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_M2REPO_DIR |
Constructor and Description |
---|
MavenRepositoryScannerPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(URL item,
String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope) |
void |
configure() |
void |
scan(AetherArtifactProvider artifactProvider,
com.buschmais.jqassistant.core.scanner.api.Scanner scanner)
Scan the repository represented by the given artifact provider.
|
MavenRepositoryDescriptor |
scan(URL repositoryUrl,
String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope,
com.buschmais.jqassistant.core.scanner.api.Scanner scanner) |
public static final String DEFAULT_M2REPO_DIR
public boolean accepts(URL item, String path, com.buschmais.jqassistant.core.scanner.api.Scope scope) throws IOException
IOException
public void configure()
configure
in class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<URL,MavenRepositoryDescriptor>
public MavenRepositoryDescriptor scan(URL repositoryUrl, String path, com.buschmais.jqassistant.core.scanner.api.Scope scope, com.buschmais.jqassistant.core.scanner.api.Scanner scanner) throws IOException
IOException
public void scan(AetherArtifactProvider artifactProvider, com.buschmais.jqassistant.core.scanner.api.Scanner scanner) throws IOException
artifactProvider
- The artifact provider.IOException
- If scanning fails.Copyright © 2016 buschmais GbR. All rights reserved.