hudson.plugins.deploy
Class ContainerAdapter

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ContainerAdapter()
           
 
Method Summary
static hudson.DescriptorExtensionList<ContainerAdapter,ContainerAdapterDescriptor> all()
           
 ContainerAdapterDescriptor getDescriptor()
           
abstract  boolean redeploy(hudson.FilePath war, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Perform redeployment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerAdapter

public ContainerAdapter()
Method Detail

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.