KIE EAP - Maven plugin 6.1.0.Final

org.kie.integration.eap.maven.model.layer
Class EAPLayerImpl

java.lang.Object
  extended by org.kie.integration.eap.maven.model.layer.EAPLayerImpl
All Implemented Interfaces:
EAPLayer

public class EAPLayerImpl
extends Object
implements EAPLayer


Constructor Summary
EAPLayerImpl(String name)
           
 
Method Summary
 EAPModule addModule(EAPModule module)
          Add a module into the layer.
 EAPModule getModule(org.sonatype.aether.artifact.Artifact artifact)
          Returns the layer's module.
 EAPModule getModule(String moduleUID)
          Returns the layer's module.
 Collection<EAPModule> getModules()
          The layer modules.
 String getName()
          The layer name.
 Properties getProperties()
          The layer properties.
 void setModules(Map<String,EAPModule> modules)
           
 void setName(String name)
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EAPLayerImpl

public EAPLayerImpl(String name)
Method Detail

addModule

public EAPModule addModule(EAPModule module)
                    throws EAPModulesDefinitionException
Description copied from interface: EAPLayer
Add a module into the layer.

Specified by:
addModule in interface EAPLayer
Returns:
Module added into the layer.
Throws:
EAPModulesDefinitionException - Error if module is already added in the layer.

getModule

public EAPModule getModule(String moduleUID)
Description copied from interface: EAPLayer
Returns the layer's module.

Specified by:
getModule in interface EAPLayer
Parameters:
moduleUID - The module UID.
Returns:
The module instance or null if not found.

getModule

public EAPModule getModule(org.sonatype.aether.artifact.Artifact artifact)
Description copied from interface: EAPLayer
Returns the layer's module.

Specified by:
getModule in interface EAPLayer
Parameters:
artifact - The artifact that contains the module definition.
Returns:
The module instance or null if not found.

getName

public String getName()
Description copied from interface: EAPLayer
The layer name.

Specified by:
getName in interface EAPLayer
Returns:
The layer name.

setName

public void setName(String name)

getProperties

public Properties getProperties()
Description copied from interface: EAPLayer
The layer properties.

Specified by:
getProperties in interface EAPLayer
Returns:
The layer properties.

setProperties

public void setProperties(Properties properties)

getModules

public Collection<EAPModule> getModules()
Description copied from interface: EAPLayer
The layer modules.

Specified by:
getModules in interface EAPLayer
Returns:
Return the modules collection.

setModules

public void setModules(Map<String,EAPModule> modules)

KIE EAP - Maven plugin 6.1.0.Final

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