|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.ant.DeployableElement
Nested Ant element to wrap a Deployable
.
Constructor Summary | |
DeployableElement()
|
Method Summary | |
void |
addConfiguredProperty(Property property)
Add a deployable property. |
org.codehaus.cargo.container.deployable.Deployable |
createDeployable(java.lang.String containerId)
|
java.lang.Class |
getDeployableClass()
|
java.lang.String |
getFile()
|
java.util.List |
getProperties()
{@inheritDoc} |
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 |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeployableElement()
Method Detail |
public void setFile(java.lang.String file)
file
- the deployable file to wrappublic 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 deployed
Deployable
representing this nested Ant elementprotected java.lang.String getSetterMethodName(java.lang.String propertyName)
propertyName
- the property name to transform into a setter method
public org.codehaus.cargo.container.deployable.DeployableType getType()
public java.lang.String getFile()
public java.lang.Class getDeployableClass()
public final java.util.List getProperties()
addConfiguredProperty(Property)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |