public class StandaloneDeployment extends MuleRuntimeDeployment
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
arguments |
protected File |
domain |
protected ArtifactCoordinates |
muleDistribution |
protected File |
muleHome |
protected Integer |
timeout
Deprecated.
|
applicationName, artifact, deploymentTimeout, javaVersion, muleVersion, releaseChannel, skip| Constructor and Description |
|---|
StandaloneDeployment() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getArguments()
List of Mule Runtime Standalone command line arguments.
|
List<ArtifactCoordinates> |
getArtifactItems()
Deprecated.
|
Optional<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.
|
File |
getScript() |
Integer |
getTimeout()
Deprecated.
|
void |
setArguments(String[] arguments) |
void |
setArtifactItems(List<ArtifactCoordinates> artifactItems)
Deprecated.
|
void |
setDomain(File domain) |
void |
setEnvironmentSpecificValues() |
void |
setMuleDistribution(ArtifactCoordinates muleDistribution)
Deprecated.
Use the official maven artifact descriptor, if you need to use Community distribution @see community property
|
void |
setMuleHome(File muleHome)
Set path to a Mule Standalone server.
|
void |
setScript(File script) |
void |
setTimeout(int timeout)
Deprecated.
|
boolean |
validateVersion() |
getApplicationName, getArtifact, getArtifactId, getDeploymentTimeout, getGroupId, getJavaVersion, getMuleVersion, getPackaging, getReleaseChannel, getSkip, getVersion, setApplicationName, setArtifact, setArtifact, setArtifactId, setBasicDeploymentValues, setDefaultValues, setDeploymentTimeout, setGroupId, setJavaVersion, setMuleVersion, setPackaging, setReleaseChannel, setSkip, setVersion@Parameter(readonly=true) protected ArtifactCoordinates muleDistribution
@Parameter protected File muleHome
@Deprecated @Parameter protected Integer timeout
@Parameter protected File domain
@Parameter protected String[] arguments
public ArtifactCoordinates getMuleDistribution()
muleVersion are mutual exclusivepublic void setMuleDistribution(ArtifactCoordinates muleDistribution)
muleVersion are mutual exclusivepublic File getMuleHome()
getMuleHome in class MuleRuntimeDeploymentpublic void setMuleHome(File muleHome)
setMuleHome in class MuleRuntimeDeployment@Deprecated public Integer getTimeout()
getTimeout in class MuleRuntimeDeployment@Deprecated public void setTimeout(int timeout)
setTimeout in class MuleRuntimeDeploymentpublic 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 class MuleRuntimeDeploymentpublic void setArguments(String[] arguments)
setArguments in class MuleRuntimeDeploymentpublic void setEnvironmentSpecificValues()
throws DeploymentException
setEnvironmentSpecificValues in class MuleRuntimeDeploymentDeploymentExceptionpublic File getScript()
getScript in class MuleRuntimeDeploymentpublic void setScript(File script)
setScript in class MuleRuntimeDeployment@Deprecated public List<ArtifactCoordinates> getArtifactItems()
@Deprecated public void setArtifactItems(List<ArtifactCoordinates> artifactItems)
public boolean validateVersion()
validateVersion in class DeploymentCopyright © 2024 MuleSoft Inc. All rights reserved.