public class CloudHubClient extends AbstractMuleClient
authenticationServiceClient, baseUri, DEFAULT_BASE_URL, ID, NAME, ORGANIZATION, SUB_ORGANIZATION_IDS, UNAUTHORIZED, USERlog| Constructor and Description |
|---|
CloudHubClient(CloudHubDeployment cloudhubDeployment,
DeployerLog log) |
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplications(Application application,
File file)
Creates an
Application |
void |
deleteApplications(String domain)
Deletes an
Application based on its domain name |
List<Application> |
getApplications()
Look up all the applications
|
Application |
getApplications(String domain)
Look up a
Application based on its domain name |
List<SupportedVersion> |
getSupportedMuleVersions()
Retrieve a list of
SupportedVersion |
boolean |
isDomainAvailable(String domain)
It checks the availability of a given doamain name
|
void |
startApplications(String domain)
Starts an
Application based on its domain name |
void |
stopApplications(String domain)
Stops an
Application based on its domain name |
Application |
updateApplications(Application application,
File file)
Update an already existing
Application |
buildOrganization, configureRequest, createBusinessGroupPath, findEnvironmentByName, getEnvId, getEnvironments, getMe, getOrgId, getSuborganizationIds, initcheckResponseStatus, checkResponseStatus, configureSecurityContext, delete, get, get, getTarget, getUserAgent, initialize, patch, patch, post, post, put, put, readJsonEntitypublic CloudHubClient(CloudHubDeployment cloudhubDeployment, DeployerLog log)
public List<Application> getApplications()
Applicationpublic Application getApplications(String domain)
Application based on its domain namedomain - the domain name of the applicationApplicationpublic Application createApplications(Application application, File file)
Applicationapplication - the Application entityfile - the file of the ApplicationApplication just createdpublic Application updateApplications(Application application, File file)
Applicationapplication - the Application entityfile - the file of the ApplicationApplication just updatedpublic void deleteApplications(String domain)
Application based on its domain namedomain - the domain name of the applicationpublic void startApplications(String domain)
Application based on its domain namedomain - the domain name of the applicationpublic void stopApplications(String domain)
Application based on its domain namedomain - the domain name of the applicationpublic boolean isDomainAvailable(String domain)
domain - the domain namepublic List<SupportedVersion> getSupportedMuleVersions()
SupportedVersionSupportedVersionCopyright © 2020 MuleSoft Inc. All rights reserved.