public class StandaloneDeployment extends Object implements MuleRuntimeDeployment
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName |
protected String[] |
arguments |
protected File |
artifact |
protected List<ArtifactCoordinates> |
artifactItems |
protected Long |
deploymentTimeout |
protected File |
domain |
protected ArtifactCoordinates |
muleDistribution |
protected File |
muleHome |
protected String |
muleVersion |
protected File |
script |
protected String |
skip |
protected Integer |
timeout |
| Constructor and Description |
|---|
StandaloneDeployment() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName()
Name of the application to deploy/undeploy.
|
String[] |
getArguments()
List of Mule Runtime Standalone command line arguments.
|
File |
getArtifact()
Application file to be deployed.
|
List<ArtifactCoordinates> |
getArtifactItems() |
Long |
getDeploymentTimeout()
DeploymentConfiguration timeout in milliseconds.
|
File |
getDomain() |
ArtifactCoordinates |
getMuleDistribution()
Deprecated.
Use the official maven artifact descriptor, if you need to use Community distribution @see community property
|
File |
getMuleHome()
Path to a Mule Standalone server.
|
Optional<String> |
getMuleVersion() |
File |
getScript() |
String |
getSkip() |
Integer |
getTimeout() |
void |
setApplicationName(String applicationName) |
void |
setArguments(String[] arguments) |
void |
setArtifact(File application) |
void |
setArtifactItems(List<ArtifactCoordinates> artifactItems) |
void |
setDeploymentTimeout(Long deploymentTimeout) |
void |
setDomain(File domain) |
void |
setMuleDistribution(ArtifactCoordinates muleDistribution) |
void |
setMuleHome(File muleHome)
Set path to a Mule Standalone server.
|
void |
setMuleVersion(String muleVersion) |
void |
setScript(File script) |
void |
setSkip(String skip) |
void |
setTimeout(int timeout) |
@Parameter(readonly=true) protected ArtifactCoordinates muleDistribution
@Parameter protected File muleHome
@Parameter protected Integer timeout
@Parameter protected File script
@Parameter protected Long deploymentTimeout
@Parameter protected File domain
@Parameter protected String[] arguments
@Parameter protected List<ArtifactCoordinates> artifactItems
@Parameter protected File artifact
@Parameter protected String applicationName
@Parameter protected String skip
@Parameter protected String muleVersion
public File getArtifact()
getArtifact in interface Deploymentpublic void setArtifact(File application)
setArtifact in interface Deploymentpublic String getApplicationName()
getApplicationName in interface Deploymentpublic void setApplicationName(String applicationName)
setApplicationName in interface Deploymentpublic String getSkip()
getSkip in interface Deploymentpublic void setSkip(String skip)
setSkip in interface Deploymentpublic Optional<String> getMuleVersion()
getMuleVersion in interface Deploymentpublic void setMuleVersion(String muleVersion)
setMuleVersion in interface Deploymentpublic ArtifactCoordinates getMuleDistribution()
muleVersion are mutual exclusivepublic void setMuleDistribution(ArtifactCoordinates muleDistribution)
public File getMuleHome()
getMuleHome in interface MuleRuntimeDeploymentpublic void setMuleHome(File muleHome)
setMuleHome in interface MuleRuntimeDeploymentpublic Integer getTimeout()
getTimeout in interface MuleRuntimeDeploymentpublic void setTimeout(int timeout)
setTimeout in interface MuleRuntimeDeploymentpublic File getScript()
getScript in interface MuleRuntimeDeploymentpublic void setScript(File script)
setScript in interface MuleRuntimeDeploymentpublic Long getDeploymentTimeout()
getDeploymentTimeout in interface MuleRuntimeDeploymentpublic void setDeploymentTimeout(Long deploymentTimeout)
setDeploymentTimeout in interface MuleRuntimeDeploymentpublic File getDomain()
public void setDomain(File domain)
public String[] getArguments()
-M-D.
If you want to add a System property for the Wrapper don't forget to prepend -D.
Example:
<arguments><argument>-M-Djdbc.url=jdbc:oracle:thin:@myhost:1521:orcl</argument></arguments>
getArguments in interface MuleRuntimeDeploymentpublic void setArguments(String[] arguments)
setArguments in interface MuleRuntimeDeploymentpublic List<ArtifactCoordinates> getArtifactItems()
public void setArtifactItems(List<ArtifactCoordinates> artifactItems)
Copyright © 2017. All rights reserved.