public abstract class TomcatAdapter extends PasswordProtectedAdapterCargo
DefaultCargoContainerAdapterImpl.Property
CargoContainerAdapter.DeployCallable
Modifier and Type | Field and Description |
---|---|
String |
url
Top URL of Tomcat.
|
userName
Constructor and Description |
---|
TomcatAdapter(String url,
String credentialsId) |
TomcatAdapter(String url,
String credentialsId,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.codehaus.cargo.container.configuration.Configuration config,
hudson.EnvVars envVars,
hudson.util.VariableResolver<String> resolver)
Default implementation that fills the configuration by using
fields and getters annotated with
DefaultCargoContainerAdapterImpl.Property . |
protected org.codehaus.cargo.container.deployable.WAR |
createWAR(File deployableFile)
Create a Tomcat-specific Deployable object from the given file object.
|
String |
getPath() |
String |
getUrl() |
getCredentialsId, getPassword, getUsername, loadCredentials, migrateCredentials, redeployFile
createEAR, deploy, expandVariable, getContainer, getContainerId
all, getDescriptor, redeploy
public final String url
public String getUrl()
getUrl
in class PasswordProtectedAdapterCargo
public String getPath()
public void configure(org.codehaus.cargo.container.configuration.Configuration config, hudson.EnvVars envVars, hudson.util.VariableResolver<String> resolver)
DefaultCargoContainerAdapterImpl
DefaultCargoContainerAdapterImpl.Property
.configure
in class DefaultCargoContainerAdapterImpl
config
- the configuration of the adapterenvVars
- the environmental variables of the buildresolver
- the variable resolverprotected org.codehaus.cargo.container.deployable.WAR createWAR(File deployableFile)
createWAR
in class CargoContainerAdapter
deployableFile
- The file to deploy.CargoContainerAdapter.createWAR(java.io.File)
Copyright © 2016–2020. All rights reserved.