KIE EAP - Maven plugin 6.1.0.Final

org.kie.integration.eap.maven.model.module
Class EAPDynamicModule

java.lang.Object
  extended by org.kie.integration.eap.maven.model.module.EAPDynamicModule
All Implemented Interfaces:
EAPModule

public class EAPDynamicModule
extends Object
implements EAPModule


Constructor Summary
EAPDynamicModule(String name)
           
 
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.
 org.sonatype.aether.artifact.Artifact getWarFile()
           
 boolean isAddJbossAll()
           
 void setAddJbossAll(boolean addJbossAll)
           
 void setArtifact(org.sonatype.aether.artifact.Artifact artifact)
           
 void setWarFile(org.sonatype.aether.artifact.Artifact warFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EAPDynamicModule

public EAPDynamicModule(String name)
Method Detail

getLayer

public EAPLayer getLayer()
Description copied from interface: EAPModule
The module layer.

Specified by:
getLayer in interface EAPModule
Returns:
The module layer.

getProperties

public Properties getProperties()
Description copied from interface: EAPModule
The module properties.

Specified by:
getProperties in interface EAPModule
Returns:
The module properties.

getName

public String getName()
Description copied from interface: EAPModule
The module name.

Specified by:
getName in interface EAPModule
Returns:
The module name.

getLocation

public String getLocation()
Description copied from interface: EAPModule
The module location in JBoss EAP modules root folder.

Specified by:
getLocation in interface EAPModule
Returns:
The module location.

getSlot

public String getSlot()
Description copied from interface: EAPModule
The module slot in JBoss EAP modules root folder.

Specified by:
getSlot in interface EAPModule
Returns:
The module slot.

getUniqueId

public String getUniqueId()
Description copied from interface: EAPModule
Returns the unique identifier for the module. The UID is the concatenation of: #layer + #module_name + #module_slot

Specified by:
getUniqueId in interface EAPModule
Returns:
The UID for the module.

getResources

public Collection<EAPModuleResource> getResources()
Description copied from interface: EAPModule
The resources for the module.

Specified by:
getResources in interface EAPModule
Returns:
The resources for the module.

addResource

public boolean addResource(EAPModuleResource resource)
Description copied from interface: EAPModule
Adds a resource for the module.

Specified by:
addResource in interface EAPModule
Parameters:
resource - The resoruce to add.
Returns:
If the resource has been added.

getDependencies

public Collection<EAPModuleDependency> getDependencies()
Description copied from interface: EAPModule
The module dependencies.

Specified by:
getDependencies in interface EAPModule
Returns:
The module dependencies.

addDependency

public boolean addDependency(EAPModuleDependency dependency)
Description copied from interface: EAPModule
Adds a dependency for the module.

Specified by:
addDependency in interface EAPModule
Parameters:
dependency - The dependency to add.
Returns:
If the dependency has been added.

getDependency

public EAPModuleDependency getDependency(String uid)
Description copied from interface: EAPModule
Returns a dependency for a given name.

Specified by:
getDependency in interface EAPModule
Parameters:
uid - The module UID of the dependency.
Returns:
The dependency object.

createDependency

public EAPModuleDependency createDependency()
Description copied from interface: EAPModule
Returns a dependency instance for this kind of module.

Specified by:
createDependency in interface EAPModule
Returns:
The new dependency object.

getArtifact

public org.sonatype.aether.artifact.Artifact getArtifact()
Description copied from interface: EAPModule
Return the artifact that contains this module definition.

Specified by:
getArtifact in interface EAPModule
Returns:
The artifact that contains this module definition.

setArtifact

public void setArtifact(org.sonatype.aether.artifact.Artifact artifact)

getWarFile

public org.sonatype.aether.artifact.Artifact getWarFile()

setWarFile

public void setWarFile(org.sonatype.aether.artifact.Artifact warFile)

isAddJbossAll

public boolean isAddJbossAll()

setAddJbossAll

public void setAddJbossAll(boolean addJbossAll)

KIE EAP - Maven plugin 6.1.0.Final

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