KIE EAP - Maven plugin 6.1.0.Final

org.kie.integration.eap.maven.model.module
Interface EAPModule

All Known Implementing Classes:
EAPAbstractModule, EAPBaseModule, EAPDynamicModule, EAPStaticModule

public interface EAPModule


Method Summary
 boolean addDependency(EAPModuleDependency dependency)
          Adds a dependency for the module.
 boolean addResource(EAPModuleResource resource)
          Adds a resource for the module.
 EAPModuleDependency createDependency()
          Returns a dependency instance for this kind of module.
 org.sonatype.aether.artifact.Artifact getArtifact()
          Return the artifact that contains this module definition.
 Collection<EAPModuleDependency> getDependencies()
          The module dependencies.
 EAPModuleDependency getDependency(String uid)
          Returns a dependency for a given name.
 EAPLayer getLayer()
          The module layer.
 String getLocation()
          The module location in JBoss EAP modules root folder.
 String getName()
          The module name.
 Properties getProperties()
          The module properties.
 Collection<EAPModuleResource> getResources()
          The resources for the module.
 String getSlot()
          The module slot in JBoss EAP modules root folder.
 String getUniqueId()
          Returns the unique identifier for the module.
 

Method Detail

getLayer

EAPLayer getLayer()
The module layer.

Returns:
The module layer.

getProperties

Properties getProperties()
The module properties.

Returns:
The module properties.

getName

String getName()
The module name.

Returns:
The module name.

getLocation

String getLocation()
The module location in JBoss EAP modules root folder.

Returns:
The module location.

getSlot

String getSlot()
The module slot in JBoss EAP modules root folder.

Returns:
The module slot.

getUniqueId

String getUniqueId()
Returns the unique identifier for the module. The UID is the concatenation of: #layer + #module_name + #module_slot

Returns:
The UID for the module.

getResources

Collection<EAPModuleResource> getResources()
The resources for the module.

Returns:
The resources for the module.

addResource

boolean addResource(EAPModuleResource resource)
Adds a resource for the module.

Parameters:
resource - The resoruce to add.
Returns:
If the resource has been added.

getDependencies

Collection<EAPModuleDependency> getDependencies()
The module dependencies.

Returns:
The module dependencies.

addDependency

boolean addDependency(EAPModuleDependency dependency)
Adds a dependency for the module.

Parameters:
dependency - The dependency to add.
Returns:
If the dependency has been added.

getDependency

EAPModuleDependency getDependency(String uid)
Returns a dependency for a given name.

Parameters:
uid - The module UID of the dependency.
Returns:
The dependency object.

createDependency

EAPModuleDependency createDependency()
Returns a dependency instance for this kind of module.

Returns:
The new dependency object.

getArtifact

org.sonatype.aether.artifact.Artifact getArtifact()
Return the artifact that contains this module definition.

Returns:
The artifact that contains this module definition.

KIE EAP - Maven plugin 6.1.0.Final

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