|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.deploy.ContainerAdapter
hudson.plugins.deploy.CargoContainerAdapter
public abstract class CargoContainerAdapter
Provides container-specific glue code.
To support remote operations as an inner class, marking the class as serializable.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
CargoContainerAdapter()
|
|
| Method Summary | |
|---|---|
protected abstract void |
configure(org.codehaus.cargo.container.configuration.Configuration config)
Fills in the Configuration object. |
protected org.codehaus.cargo.container.deployable.Deployable |
createDeployable(java.io.File deployableFile)
Creates a Deployable object from the given file object. |
protected void |
deploy(org.codehaus.cargo.generic.deployer.DeployerFactory deployerFactory,
hudson.model.BuildListener listener,
org.codehaus.cargo.container.Container container,
java.io.File f)
|
protected org.codehaus.cargo.container.Container |
getContainer(org.codehaus.cargo.generic.configuration.ConfigurationFactory configFactory,
org.codehaus.cargo.generic.ContainerFactory containerFactory,
java.lang.String id)
|
protected abstract java.lang.String |
getContainerId()
Returns the container ID used by Cargo. |
boolean |
redeploy(hudson.FilePath war,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Perform redeployment. |
| Methods inherited from class hudson.plugins.deploy.ContainerAdapter |
|---|
all, getDescriptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CargoContainerAdapter()
| Method Detail |
|---|
protected abstract java.lang.String getContainerId()
protected abstract void configure(org.codehaus.cargo.container.configuration.Configuration config)
Configuration object.
protected org.codehaus.cargo.container.Container getContainer(org.codehaus.cargo.generic.configuration.ConfigurationFactory configFactory,
org.codehaus.cargo.generic.ContainerFactory containerFactory,
java.lang.String id)
protected void deploy(org.codehaus.cargo.generic.deployer.DeployerFactory deployerFactory,
hudson.model.BuildListener listener,
org.codehaus.cargo.container.Container container,
java.io.File f)
protected org.codehaus.cargo.container.deployable.Deployable createDeployable(java.io.File deployableFile)
deployableFile - The deployable file to create the Deployable from.
public boolean redeploy(hudson.FilePath war,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
ContainerAdapter
redeploy in class ContainerAdapterjava.io.IOException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||