public class DeployableElement extends 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(String containerId) |
Class |
getDeployableClass() |
String |
getFile() |
List |
getProperties() |
protected String |
getSetterMethodName(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(Class deployableClass) |
void |
setFile(String file) |
void |
setType(String type) |
public void setFile(String file)
file
- the deployable file to wrappublic void setType(String type)
type
- the deployable type ("war", "ejb", "ear", etc)public void setClass(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(String containerId)
containerId
- the container id to which this deployable will be deployedDeployable
representing this nested Ant elementprotected String getSetterMethodName(String propertyName)
propertyName
- the property name to transform into a setter methodpublic org.codehaus.cargo.container.deployable.DeployableType getType()
public String getFile()
public Class getDeployableClass()
public final List getProperties()
addConfiguredProperty(Property)
Copyright © 2004-2013 Codehaus. All Rights Reserved.