@Component(role=EAPModulesScanner.class) public interface EAPModulesScanner
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleTypeSupported()
Returns the module type that supports this scanner implementation.
|
EAPLayer |
scan(String layerName,
Collection<org.eclipse.aether.artifact.Artifact> moduleArtifacts,
Collection<org.eclipse.aether.artifact.Artifact> exclusions,
EAPArtifactsHolder artifactsHolder)
Scan the module descriptors and generate model module definitions for a single layer.
|
void |
setDistributionStaticDependencies(Collection<EAPStaticDistributionModuleDependency> dependencies)
Set the static dependencies at distribution level.
|
void |
setScanResources(boolean scanResources)
Set it to scan module resources too.
|
void |
setScanStaticDependencies(boolean scanStaticDependencies)
Set if static dependency properties must be scanned.
|
EAPLayer scan(String layerName, Collection<org.eclipse.aether.artifact.Artifact> moduleArtifacts, Collection<org.eclipse.aether.artifact.Artifact> exclusions, EAPArtifactsHolder artifactsHolder) throws EAPModulesDefinitionException, EAPModuleDefinitionException
layerName - The name for the layer to scan.moduleArtifacts - The collection of pom module artifacts.artifactsHolder - The resolved artifacts for this project.EAPModulesDefinitionException - Exception in a single module loading.EAPModuleDefinitionException - Exception loading module definitions.String getModuleTypeSupported()
void setScanResources(boolean scanResources)
void setScanStaticDependencies(boolean scanStaticDependencies)
scanStaticDependencies - if static dependency properties must be scanned.void setDistributionStaticDependencies(Collection<EAPStaticDistributionModuleDependency> dependencies)
dependencies - The static dependencies for this distribution.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.