hudson.plugins.deploy
Class ContainerAdapter
java.lang.Object
hudson.plugins.deploy.ContainerAdapter
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<ContainerAdapter>
- Direct Known Subclasses:
- CargoContainerAdapter
public abstract class ContainerAdapter
- extends java.lang.Object
- implements hudson.model.Describable<ContainerAdapter>, hudson.ExtensionPoint
Encapsulates container-specific deployment operation.
Persistence
Instances of these objects are persisted in projects' configuration XML via XStream.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerAdapter
public ContainerAdapter()
redeploy
public abstract boolean redeploy(hudson.FilePath war,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Perform redeployment.
If failed, return false.
- Throws:
java.io.IOException
java.lang.InterruptedException
getDescriptor
public ContainerAdapterDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<ContainerAdapter>
all
public static hudson.DescriptorExtensionList<ContainerAdapter,ContainerAdapterDescriptor> all()
Copyright © 2009. All Rights Reserved.