@Generated public class AppsAPI extends Object
| Constructor and Description |
|---|
AppsAPI(ApiClient apiClient)
Regular-use constructor
|
AppsAPI(AppsService mock)
Constructor for mocks
|
public AppsAPI(ApiClient apiClient)
public AppsAPI(AppsService mock)
public App waitGetAppActive(String name) throws TimeoutException
TimeoutExceptionpublic App waitGetAppActive(String name, Duration timeout, Consumer<App> callback) throws TimeoutException
TimeoutExceptionpublic AppDeployment waitGetDeploymentAppSucceeded(String appName, String deploymentId) throws TimeoutException
TimeoutExceptionpublic AppDeployment waitGetDeploymentAppSucceeded(String appName, String deploymentId, Duration timeout, Consumer<AppDeployment> callback) throws TimeoutException
TimeoutExceptionpublic App waitGetAppStopped(String name) throws TimeoutException
TimeoutExceptionpublic App waitGetAppStopped(String name, Duration timeout, Consumer<App> callback) throws TimeoutException
TimeoutExceptionpublic Wait<App,App> create(CreateAppRequest request)
Creates a new app.
public App delete(DeleteAppRequest request)
Deletes an app.
public Wait<AppDeployment,AppDeployment> deploy(String appName, AppDeployment appDeployment)
public Wait<AppDeployment,AppDeployment> deploy(CreateAppDeploymentRequest request)
Creates an app deployment for the app with the supplied name.
public App get(GetAppRequest request)
Retrieves information for the app with the supplied name.
public AppDeployment getDeployment(String appName, String deploymentId)
public AppDeployment getDeployment(GetAppDeploymentRequest request)
Retrieves information for the app deployment with the supplied name and deployment id.
public GetAppPermissionLevelsResponse getPermissionLevels(String appName)
public GetAppPermissionLevelsResponse getPermissionLevels(GetAppPermissionLevelsRequest request)
Gets the permission levels that a user can have on an object.
public AppPermissions getPermissions(String appName)
public AppPermissions getPermissions(GetAppPermissionsRequest request)
Gets the permissions of an app. Apps can inherit permissions from their root object.
public Iterable<App> list(ListAppsRequest request)
Lists all apps in the workspace.
public Iterable<AppDeployment> listDeployments(String appName)
public Iterable<AppDeployment> listDeployments(ListAppDeploymentsRequest request)
Lists all app deployments for the app with the supplied name.
public AppPermissions setPermissions(String appName)
public AppPermissions setPermissions(AppPermissionsRequest request)
Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct permissions if none are specified. Objects can inherit permissions from their root object.
public Wait<App,App> start(StartAppRequest request)
Start the last active deployment of the app in the workspace.
public Wait<App,App> stop(StopAppRequest request)
Stops the active deployment of the app in the workspace.
public App update(UpdateAppRequest request)
Updates the app with the supplied name.
public AppPermissions updatePermissions(String appName)
public AppPermissions updatePermissions(AppPermissionsRequest request)
Updates the permissions on an app. Apps can inherit permissions from their root object.
public AppsService impl()
Copyright © 2025. All rights reserved.