|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.ee.deploy.impl.helper.UnpackDeployableHelper
public final class UnpackDeployableHelper
Allow to unpack a deployable and build a deployable for this type.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_FOLDER
Folder to create in tmp folder. |
| Method Summary | ||
|---|---|---|
static
|
unpack(T deployable)
Unpack the given archive in a temp folder, then build a local deployable (and fill it with submodules for EAR) and then return it. |
|
static
|
unpack(T deployable,
java.io.File unpackedFolder)
Unpack the given archive in the given folder, then build a local deployable (and fill it with submodules for EAR) and then return it. |
|
static
|
unpack(T deployable,
java.io.File folder,
java.lang.String archiveName)
Unpack the given archive in the given folder, then build a local deployable (and fill it with submodules for EAR) and then return it. |
|
static
|
unpack(T deployable,
java.lang.String pattern)
Unpack the given archive in a temp folder, then build a local deployable (and fill it with submodules for EAR) and then return it. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_FOLDER
| Method Detail |
|---|
public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> T unpack(T deployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
T - an object implementing IDeployabledeployable - the archive to unpack.
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the Deployable can't be unpacked
public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> T unpack(T deployable,
java.lang.String pattern)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
T - an object implementing IDeployabledeployable - the archive to unpack.pattern - the path in the pattern to use in the temp folder
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the Deployable can't be unpacked
public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> T unpack(T deployable,
java.io.File folder,
java.lang.String archiveName)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
T - an object implementing IDeployabledeployable - the archive to unpack.folder - the path of the folder for unpacking the archivearchiveName - the name to use for the unpacked archived
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the Deployable can't be unpacked
public static <T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>> T unpack(T deployable,
java.io.File unpackedFolder)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
T - an object implementing IDeployabledeployable - the archive to unpack.unpackedFolder - the path of the folder for unpacking the archive
org.ow2.util.ee.deploy.api.deployer.DeployerException - if the EAR can't be unpacked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||