public class ArmDeployment extends Object implements AnypointDeployment
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName |
protected Boolean |
armInsecure |
protected File |
artifact |
protected String |
businessGroup |
protected String |
environment |
protected Boolean |
failIfNotExists |
protected String |
muleVersion |
protected String |
password |
protected String |
server |
protected String |
skip |
protected String |
target |
protected TargetType |
targetType |
protected String |
uri |
protected String |
username |
| Constructor and Description |
|---|
ArmDeployment() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName()
Name of the application to deploy/undeploy.
|
File |
getArtifact()
Application file to be deployed.
|
String |
getBusinessGroup()
Business group for deploymentConfiguration, if it is a nested one its format should be first.second.
|
String |
getEnvironment()
Anypoint environment name.
|
Optional<String> |
getMuleVersion() |
String |
getPassword()
Anypoint Platform password.
|
String |
getServer()
Maven server with Anypoint Platform credentials.
|
String |
getSkip() |
String |
getTarget()
Anypoint Platform target name.
|
TargetType |
getTargetType()
Anypoint Platform target type: server, serverGroup or cluster.
|
String |
getUri()
Anypoint Platform URI, can be configured to use with On Premise platform..
|
String |
getUsername()
Anypoint Platform username.
|
Optional<Boolean> |
isArmInsecure()
Use insecure mode for ARM deploymentConfiguration: do not validate certificates, nor hostname.
|
Optional<Boolean> |
isFailIfNotExists()
When set to false, undeployment won't fail if the specified application does not exist.
|
void |
setApplicationName(String applicationName) |
void |
setArmInsecure(boolean armInsecure) |
void |
setArtifact(File artifact) |
void |
setBusinessGroup(String businessGroup) |
void |
setEnvironment(String environment) |
void |
setFailIfNotExists(boolean failIfNotExists) |
void |
setMuleVersion(String muleVersion) |
void |
setPassword(String password) |
void |
setServer(String server) |
void |
setSkip(String skip) |
void |
setTarget(String target) |
void |
setTargetType(TargetType targetType) |
void |
setUri(String uri) |
void |
setUsername(String username) |
@Parameter protected String username
@Parameter protected String password
@Parameter protected String environment
@Parameter protected String businessGroup
@Parameter protected String uri
@Parameter protected String target
@Parameter protected TargetType targetType
@Parameter protected Boolean armInsecure
@Parameter protected Boolean failIfNotExists
@Parameter protected String server
@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 String getUsername()
getUsername in interface AnypointDeploymentpublic void setUsername(String username)
setUsername in interface AnypointDeploymentpublic String getPassword()
getPassword in interface AnypointDeploymentpublic void setPassword(String password)
setPassword in interface AnypointDeploymentpublic String getEnvironment()
getEnvironment in interface AnypointDeploymentpublic void setEnvironment(String environment)
setEnvironment in interface AnypointDeploymentpublic String getBusinessGroup()
getBusinessGroup in interface AnypointDeploymentpublic void setBusinessGroup(String businessGroup)
setBusinessGroup in interface AnypointDeploymentpublic String getUri()
getUri in interface AnypointDeploymentpublic void setUri(String uri)
setUri in interface AnypointDeploymentpublic String getTarget()
public void setTarget(String target)
public TargetType getTargetType()
public void setTargetType(TargetType targetType)
public Optional<Boolean> isArmInsecure()
public void setArmInsecure(boolean armInsecure)
public Optional<Boolean> isFailIfNotExists()
public void setFailIfNotExists(boolean failIfNotExists)
public String getServer()
getServer in interface AnypointDeploymentpublic void setServer(String server)
setServer in interface AnypointDeploymentCopyright © 2017. All rights reserved.