public class ClusterDeployment extends Object implements MuleRuntimeDeployment
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName |
protected String[] |
arguments |
protected File |
artifact |
protected Long |
deploymentTimeout |
protected ArtifactCoordinates |
muleDistribution |
protected File |
muleHome |
protected String |
muleVersion |
protected File |
script |
protected Integer |
size |
protected String |
skip |
protected Integer |
timeout |
| Constructor and Description |
|---|
ClusterDeployment() |
| 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.
|
Long |
getDeploymentTimeout()
DeploymentConfiguration timeout in milliseconds.
|
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() |
Integer |
getSize()
Number of cluster nodes.
|
String |
getSkip() |
Integer |
getTimeout() |
void |
setApplicationName(String applicationName) |
void |
setArguments(String[] arguments) |
void |
setArtifact(File artifact) |
void |
setDeploymentTimeout(Long deploymentTimeout) |
void |
setMuleDistribution(ArtifactCoordinates muleDistribution) |
void |
setMuleHome(File muleHome)
Set path to a Mule Standalone server.
|
void |
setMuleVersion(String muleVersion) |
void |
setScript(File script) |
void |
setSize(Integer size) |
void |
setSkip(String skip) |
void |
setTimeout(int timeout) |
@Parameter protected Integer timeout
@Parameter protected File script
@Parameter(readonly=true) protected ArtifactCoordinates muleDistribution
@Parameter protected Long deploymentTimeout
@Parameter protected String[] arguments
@Parameter protected Integer size
@Parameter protected File muleHome
@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 artifact)
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 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 ArtifactCoordinates getMuleDistribution()
muleVersion are mutual exclusivepublic void setMuleDistribution(ArtifactCoordinates muleDistribution)
public Long getDeploymentTimeout()
getDeploymentTimeout in interface MuleRuntimeDeploymentpublic void setDeploymentTimeout(Long deploymentTimeout)
setDeploymentTimeout in interface MuleRuntimeDeploymentpublic 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 Integer getSize()
public void setSize(Integer size)
public File getMuleHome()
getMuleHome in interface MuleRuntimeDeploymentpublic void setMuleHome(File muleHome)
setMuleHome in interface MuleRuntimeDeploymentCopyright © 2020. All rights reserved.