hudson.plugins.deploy.tomcat
Class TomcatAdapter
java.lang.Object
hudson.plugins.deploy.ContainerAdapter
hudson.plugins.deploy.CargoContainerAdapter
hudson.plugins.deploy.DefaultCargoContainerAdapterImpl
hudson.plugins.deploy.PasswordProtectedAdapterCargo
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 classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
java.lang.String |
url
Top URL of Tomcat. |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
public final java.lang.String url
- Top URL of Tomcat.
TomcatAdapter
public TomcatAdapter(java.lang.String url,
java.lang.String password,
java.lang.String userName)
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.