org.ow2.util.ee.deploy.impl.helper
Class ModifyDeployableHelper

java.lang.Object
  extended by org.ow2.util.ee.deploy.impl.helper.ModifyDeployableHelper

public final class ModifyDeployableHelper
extends Object

Allow to add entries in a given deployable.

Author:
Florent BENOIT

Field Summary
static String DEFAULT_FOLDER
          Folder to create in tmp folder.
 
Method Summary
static
<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>
void
addInDeployable(T deployable, List<DeployableEntry> entries)
          Add given entries in the given deployable.
static
<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>
void
addInDeployable(T deployable, List<DeployableEntry> entries, File workingFolder)
          Add given entries in the given deployable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FOLDER

public static final String DEFAULT_FOLDER
Folder to create in tmp folder.

See Also:
Constant Field Values
Method Detail

addInDeployable

public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> void addInDeployable(T deployable,
                                                                                                    List<DeployableEntry> entries)
                            throws org.ow2.util.ee.deploy.api.deployer.DeployerException
Add given entries in the given deployable.

Type Parameters:
T - an object implementing IDeployable
Parameters:
deployable - the archive to modify.
entries - a list of entries to add in the given archive
Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the Deployable can't be modified

addInDeployable

public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> void addInDeployable(T deployable,
                                                                                                    List<DeployableEntry> entries,
                                                                                                    File workingFolder)
                            throws org.ow2.util.ee.deploy.api.deployer.DeployerException
Add given entries in the given deployable.

Type Parameters:
T - an object implementing IDeployable
Parameters:
deployable - the archive to modify.
entries - a list of entries to add in the given archive
workingFolder - a folder used for the work
Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the Deployable can't be modified


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.