KIE EAP - Maven plugin 6.1.0.Final

org.kie.integration.eap.maven.patch
Class EAPDynamicModulesPatch

java.lang.Object
  extended by org.kie.integration.eap.maven.patch.EAPAbstractPatch
      extended by org.kie.integration.eap.maven.patch.EAPDynamicModulesPatch
All Implemented Interfaces:
EAPPatch
Direct Known Subclasses:
EAPWebfragmentPatch

public abstract class EAPDynamicModulesPatch
extends EAPAbstractPatch


Field Summary
protected  EAPStaticLayerDistribution staticLayerDistribution
           
 
Constructor Summary
EAPDynamicModulesPatch()
           
 
Method Summary
 void execute()
          After previous setters has been called, the execute method run the patches for the moodules.
abstract  void execute(EAPModuleGraphNode node, Properties patchProperties)
           
protected  org.sonatype.aether.artifact.Artifact getArtifact(EAPModuleGraphNode module, String coordinates)
           
 Properties getNodePatchProperties(EAPModuleGraphNode node)
          Returns the properties related to thsi path for a given module node.
 EAPStaticLayerDistribution getStaticLayerDistribution()
           
 void patchAssembly(EAPDynamicModule module, EAPAssemblyTemplate assemblyTemplate)
          Apply the patch for the module assembly descriptor.
 void setStaticLayerDistribution(EAPStaticLayerDistribution staticLayerDistribution)
           
 
Methods inherited from class org.kie.integration.eap.maven.patch.EAPAbstractPatch
getArtifactsHolder, getCurrentPatchModulePropertyName, getOutputPath, getPatchProperties, setArtifactsHolder, setOutputPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kie.integration.eap.maven.patch.EAPPatch
doApply, getId
 

Field Detail

staticLayerDistribution

protected EAPStaticLayerDistribution staticLayerDistribution
Constructor Detail

EAPDynamicModulesPatch

public EAPDynamicModulesPatch()
Method Detail

setStaticLayerDistribution

public void setStaticLayerDistribution(EAPStaticLayerDistribution staticLayerDistribution)

getStaticLayerDistribution

public EAPStaticLayerDistribution getStaticLayerDistribution()

execute

public abstract void execute(EAPModuleGraphNode node,
                             Properties patchProperties)
                      throws EAPPatchException
Throws:
EAPPatchException

execute

public void execute()
             throws EAPPatchException
Description copied from interface: EAPPatch
After previous setters has been called, the execute method run the patches for the moodules.

Throws:
EAPPatchException

getNodePatchProperties

public Properties getNodePatchProperties(EAPModuleGraphNode node)
Returns the properties related to thsi path for a given module node.

Parameters:
node - The module node.
Returns:
The properties related to this patch.

getArtifact

protected org.sonatype.aether.artifact.Artifact getArtifact(EAPModuleGraphNode module,
                                                            String coordinates)

patchAssembly

public void patchAssembly(EAPDynamicModule module,
                          EAPAssemblyTemplate assemblyTemplate)
                   throws EAPPatchException
Apply the patch for the module assembly descriptor.

Parameters:
assemblyTemplate - The assembly teamplte model.
Throws:
EAPPatchException

KIE EAP - Maven plugin 6.1.0.Final

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