KIE EAP - Maven plugin 6.1.0.Final

org.kie.integration.eap.maven.scanner
Interface EAPModulesScanner

All Known Implementing Classes:
EAPBaseModulesScanner, EAPStaticModulesScanner

@Component(role=EAPModulesScanner.class)
public interface EAPModulesScanner


Method Summary
 String getModuleTypeSupported()
          Returns the module type that supports this scanner implementation.
 EAPLayer scan(String layerName, Collection<org.sonatype.aether.artifact.Artifact> moduleArtifacts, Collection<org.sonatype.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.
 

Method Detail

scan

EAPLayer scan(String layerName,
              Collection<org.sonatype.aether.artifact.Artifact> moduleArtifacts,
              Collection<org.sonatype.aether.artifact.Artifact> exclusions,
              EAPArtifactsHolder artifactsHolder)
              throws EAPModulesDefinitionException,
                     EAPModuleDefinitionException
Scan the module descriptors and generate model module definitions for a single layer.

Parameters:
layerName - The name for the layer to scan.
moduleArtifacts - The collection of pom module artifacts.
artifactsHolder - The resolved artifacts for this project.
Returns:
The layer scanned.
Throws:
EAPModulesDefinitionException - Exception in a single module loading.
EAPModuleDefinitionException - Exception loading module definitions.

getModuleTypeSupported

String getModuleTypeSupported()
Returns the module type that supports this scanner implementation.

Returns:
The module type that supports this scanner implementation.

setScanResources

void setScanResources(boolean scanResources)
Set it to scan module resources too.


setScanStaticDependencies

void setScanStaticDependencies(boolean scanStaticDependencies)
Set if static dependency properties must be scanned.

Parameters:
scanStaticDependencies - if static dependency properties must be scanned.

setDistributionStaticDependencies

void setDistributionStaticDependencies(Collection<EAPStaticDistributionModuleDependency> dependencies)
Set the static dependencies at distribution level.

Parameters:
dependencies - The static dependencies for this distribution.

KIE EAP - Maven plugin 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.