public class CloudHubDeployment extends Object implements AnypointDeployment
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName |
protected File |
artifact |
protected String |
businessGroup |
protected String |
environment |
protected String |
muleVersion |
protected String |
password |
protected Map<String,String> |
properties |
protected String |
region |
protected String |
server |
protected String |
skip |
protected String |
uri |
protected String |
username |
protected Integer |
workers |
protected String |
workerType |
| Constructor and Description |
|---|
CloudHubDeployment() |
| 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.
|
Map<String,String> |
getProperties()
CloudHub properties.
|
String |
getRegion()
Region to deploy the application in Cloudhub.
|
String |
getServer()
Maven server with Anypoint Platform credentials.
|
String |
getSkip() |
String |
getUri()
Anypoint Platform URI, can be configured to use with On Premise platform..
|
String |
getUsername()
Anypoint Platform username.
|
Optional<Integer> |
getWorkers()
Number of workers for the deploymentConfiguration of the application in Cloudhub.
|
String |
getWorkerType()
Type of workers for the deploymentConfiguration of the application in Cloudhub.
|
void |
setApplicationName(String applicationName) |
void |
setArtifact(File application) |
void |
setBusinessGroup(String businessGroup) |
void |
setEnvironment(String environment) |
void |
setMuleVersion(String muleVersion) |
void |
setPassword(String password) |
void |
setProperties(Map<String,String> properties) |
void |
setRegion(String region) |
void |
setServer(String server) |
void |
setSkip(String skip) |
void |
setUri(String uri) |
void |
setUsername(String username) |
void |
setWorkers(Integer workers) |
void |
setWorkerType(String workerType) |
@Parameter protected String username
@Parameter protected String password
@Parameter protected String environment
@Parameter protected String businessGroup
@Parameter protected String uri
@Parameter protected Integer workers
@Parameter protected String workerType
@Parameter protected String region
@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 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 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 getRegion()
public void setRegion(String region)
public Optional<Integer> getWorkers()
public void setWorkers(Integer workers)
public String getWorkerType()
public void setWorkerType(String workerType)
public String getServer()
getServer in interface AnypointDeploymentpublic void setServer(String server)
setServer in interface AnypointDeploymentCopyright © 2017. All rights reserved.