public class DeployableElement
extends java.lang.Object
Deployable.| Constructor and Description |
|---|
DeployableElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredProperty(Property property)
Add a deployable property.
|
org.codehaus.cargo.container.deployable.Deployable |
createDeployable(java.lang.String containerId) |
org.codehaus.cargo.container.deployer.DeployableMonitor |
createDeployableMonitor() |
java.lang.Class |
getDeployableClass() |
java.lang.String |
getFile() |
java.util.List<Property> |
getProperties() |
protected java.lang.String |
getSetterMethodName(java.lang.String propertyName)
Transform a property into a method name by transforming the first letter of the property name
to uppercase.
|
org.codehaus.cargo.container.deployable.DeployableType |
getType() |
void |
setClass(java.lang.Class deployableClass) |
void |
setFile(java.lang.String file) |
void |
setPingTimeout(java.lang.Long pingTimeout) |
void |
setPingUrl(java.net.URL pingURL) |
void |
setType(java.lang.String type) |
public void setFile(java.lang.String file)
file - the deployable file to wrappublic void setPingUrl(java.net.URL pingURL)
pingURL - the deployable ping URLpublic void setPingTimeout(java.lang.Long pingTimeout)
pingTimeout - the deployable ping timeoutpublic void setType(java.lang.String type)
type - the deployable type ("war", "ejb", "ear", etc)public void setClass(java.lang.Class deployableClass)
deployableClass - a custom deployable class to register against the specified typepublic void addConfiguredProperty(Property property)
property - the deployable property to addpublic org.codehaus.cargo.container.deployable.Deployable createDeployable(java.lang.String containerId)
containerId - the container id to which this deployable will be deployedDeployable representing this nested Ant elementpublic org.codehaus.cargo.container.deployer.DeployableMonitor createDeployableMonitor()
protected java.lang.String getSetterMethodName(java.lang.String propertyName)
propertyName - the property name to transform into a setter methodpublic org.codehaus.cargo.container.deployable.DeployableType getType()
public java.lang.String getFile()
public java.lang.Class getDeployableClass()
public java.util.List<Property> getProperties()
Copyright © 2004-2014 Codehaus. All Rights Reserved.