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 java.lang.Object

Allow to add entries in a given deployable.

Author:
Florent BENOIT

Field Summary
static java.lang.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, java.util.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, java.util.List<DeployableEntry> entries, java.io.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 java.lang.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,
                                                                                                    java.util.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,
                                                                                                    java.util.List<DeployableEntry> entries,
                                                                                                    java.io.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 OW2 Consortium. All Rights Reserved.