public class Applications extends Object
| Constructor and Description |
|---|
Applications(String baseUrl,
javax.ws.rs.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
applicationId(String applicationId)
Access to the application resource.
|
ApplicationName |
applicationName(String applicationName)
Access to the application resource.
|
List<ApplicationsGETResponse> |
get()
GET operation to retrieve the list of applications deployed.
|
ApplicationLogging |
logging() |
ApplicationsPUTResponse |
put(ApplicationsPUTBody body,
boolean verboseErrorsEnabled)
PUT operation to deploy a tooling application not compressed.
|
ApplicationsPUTResponse |
put(InputStream body,
boolean verboseErrorsEnabled)
PUT operation to deploy a tooling application compressed from an
InputStream. |
public Applications(String baseUrl, javax.ws.rs.client.Client client)
public List<ApplicationsGETResponse> get()
List of ApplicationsGETResponsesToolingServiceAPIException - if there was an error.public ApplicationsPUTResponse put(ApplicationsPUTBody body, boolean verboseErrorsEnabled)
body - ApplicationsPUTBody request body.verboseErrorsEnabled - flag that defines if it has to be verbose the response in case of errors/failures.ApplicationsPUTResponse for the deployed application.ToolingServiceAPIException - if there was an error.public ApplicationsPUTResponse put(InputStream body, boolean verboseErrorsEnabled)
InputStream.body - InputStream to read the content of the application zipped.verboseErrorsEnabled - flag that defines if it has to be verbose the response in case of errors/failures.ApplicationsPUTResponse for the deployed application.ToolingServiceAPIException - if there was an error.public final ApplicationId applicationId(String applicationId)
applicationId - the identifier of the application.ApplicationId to operate with.public final ApplicationName applicationName(String applicationName)
applicationName - the name of the application.ApplicationId to operate with.public final ApplicationLogging logging()
ApplicationLogging to operate with.Copyright © 2017 MuleSoft, Inc.. All rights reserved.