public class Deployable extends AbstractDependency
<deployable> tag used to configure
the plugin in the pom.xml file.| Constructor and Description |
|---|
Deployable() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeExtension(String packaging) |
protected String |
computeLocation(CargoProject project) |
org.codehaus.cargo.container.deployable.Deployable |
createDeployable(String containerId,
CargoProject project) |
Class |
getImplementation() |
Long |
getPingTimeout() |
URL |
getPingURL() |
Map |
getProperties() |
protected String |
getSetterMethodName(String propertyName)
Transform a property into a method name by transforming the first letter of the property
name to uppercase.
|
protected boolean |
isTypeCompatible(CargoProject project) |
void |
setImplementation(Class implementation) |
void |
setProperties(Map properties) |
protected void |
setPropertiesOnDeployable(org.codehaus.cargo.container.deployable.Deployable deployable,
CargoProject project)
Set user-defined properties on the created deployable.
|
findArtifactLocation, getArtifactId, getGroupId, getLocation, getType, setArtifactId, setGroupId, setLocation, setTypepublic Map getProperties()
public void setProperties(Map properties)
public URL getPingURL()
public Long getPingTimeout()
public void setImplementation(Class implementation)
public Class getImplementation()
public org.codehaus.cargo.container.deployable.Deployable createDeployable(String containerId, CargoProject project) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void setPropertiesOnDeployable(org.codehaus.cargo.container.deployable.Deployable deployable,
CargoProject project)
deployable - the deployable on which to set the propertiesprotected String computeLocation(CargoProject project) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean isTypeCompatible(CargoProject project)
protected String computeExtension(String packaging)
packaging - the Maven project packaging (ex: ejb, ear, rar, war, etc)Copyright © 2004-2013 Codehaus. All Rights Reserved.