org.ow2.util.ee.deploy.impl.helper
Class PackDeployableHelper
java.lang.Object
org.ow2.util.ee.deploy.impl.helper.PackDeployableHelper
public final class PackDeployableHelper
- extends Object
Allow to pack a given deployable.
- Author:
- Florent BENOIT
|
Method Summary |
static
<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>
File |
|
pack(T deployable,
File folder,
String archiveName)
Pack the given deployable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pack
public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> File pack(T deployable,
File folder,
String archiveName)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
- Pack the given deployable.
- Type Parameters:
T - an object implementing IDeployable- Parameters:
deployable - the archive to pack.folder - the path of the folder for packing the archivearchiveName - the name of the archive to create.
- Returns:
- a new JAR File (which is packed)
- Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the Deployable can't be packed
Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.