hudson.plugins.deploy.tomcat
Class TomcatAdapter

java.lang.Object
  extended by hudson.plugins.deploy.ContainerAdapter
      extended by hudson.plugins.deploy.CargoContainerAdapter
          extended by hudson.plugins.deploy.DefaultCargoContainerAdapterImpl
              extended by hudson.plugins.deploy.PasswordProtectedAdapterCargo
                  extended by hudson.plugins.deploy.tomcat.TomcatAdapter
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<ContainerAdapter>, java.io.Serializable
Direct Known Subclasses:
Tomcat4xAdapter, Tomcat5xAdapter, Tomcat6xAdapter

public abstract class TomcatAdapter
extends PasswordProtectedAdapterCargo

Base class for Tomcat adapters.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.deploy.DefaultCargoContainerAdapterImpl
DefaultCargoContainerAdapterImpl.Property
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 java.lang.String url
          Top URL of Tomcat.
 
Fields inherited from class hudson.plugins.deploy.PasswordProtectedAdapterCargo
password, userName
 
Constructor Summary
TomcatAdapter(java.lang.String url, java.lang.String password, java.lang.String userName)
           
 
Method Summary
 void configure(org.codehaus.cargo.container.configuration.Configuration config)
          Default implementation that fills the configuration by using fields annotated with DefaultCargoContainerAdapterImpl.Property.
protected  org.codehaus.cargo.container.deployable.Deployable createDeployable(java.io.File deployableFile)
          Create a Tomcat-specific Deployable object from the given file object.
 
Methods inherited from class hudson.plugins.deploy.CargoContainerAdapter
deploy, getContainer, getContainerId, redeploy
 
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
 

Field Detail

url

public final java.lang.String url
Top URL of Tomcat.

Constructor Detail

TomcatAdapter

public TomcatAdapter(java.lang.String url,
                     java.lang.String password,
                     java.lang.String userName)
Method Detail

configure

public void configure(org.codehaus.cargo.container.configuration.Configuration config)
Description copied from class: DefaultCargoContainerAdapterImpl
Default implementation that fills the configuration by using fields annotated with DefaultCargoContainerAdapterImpl.Property.

Overrides:
configure in class DefaultCargoContainerAdapterImpl

createDeployable

protected org.codehaus.cargo.container.deployable.Deployable createDeployable(java.io.File deployableFile)
Create a Tomcat-specific Deployable object from the given file object.

Overrides:
createDeployable in class CargoContainerAdapter
Parameters:
deployableFile - The file to deploy.
Returns:
A Tomcat-specific Deployable object.
See Also:
CargoContainerAdapter.createDeployable(java.io.File)


Copyright © 2009. All Rights Reserved.