public class AppRepositoryServiceImpl extends CommonEngineServiceImpl<AppEngineConfiguration> implements AppRepositoryService
commandExecutorconfiguration| Constructor and Description |
|---|
AppRepositoryServiceImpl(AppEngineConfiguration engineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
convertAppModelToJson(String appDefinitionId)
Returns the
AppModel as a JSON string. |
AppDefinitionQuery |
createAppDefinitionQuery()
Query app definitions
|
AppDeploymentBuilder |
createDeployment()
Starts creating a new deployment
|
AppDeploymentQuery |
createDeploymentQuery()
Query deployments
|
void |
deleteDeployment(String deploymentId,
boolean cascade)
Deletes the given deployment and cascade deletion to app instances, history case instances and jobs.
|
AppDeployment |
deploy(AppDeploymentBuilderImpl deploymentBuilder) |
AppDefinition |
getAppDefinition(String appDefinitionId)
Returns the
AppDefinition including all App information like additional Properties (e.g. |
AppModel |
getAppModel(String appDefinitionId)
Returns the
AppModel including all App model info. |
List<String> |
getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.
|
InputStream |
getResourceAsStream(String deploymentId,
String resourceName)
Gives access to a deployment resource through a stream of bytes.
|
void |
setAppDefinitionCategory(String appDefinitionId,
String category)
Sets the category of the app definition.
|
getCommandExecutor, setCommandExecutorgetConfigurationpublic AppRepositoryServiceImpl(AppEngineConfiguration engineConfiguration)
public AppDeploymentBuilder createDeployment()
AppRepositoryServicecreateDeployment in interface AppRepositoryServicepublic List<String> getDeploymentResourceNames(String deploymentId)
AppRepositoryServicegetDeploymentResourceNames in interface AppRepositoryServicedeploymentId - id of the deployment, cannot be null.public InputStream getResourceAsStream(String deploymentId, String resourceName)
AppRepositoryServicegetResourceAsStream in interface AppRepositoryServicedeploymentId - id of the deployment, cannot be null.resourceName - name of the resource, cannot be null.public AppDeployment deploy(AppDeploymentBuilderImpl deploymentBuilder)
public AppDefinition getAppDefinition(String appDefinitionId)
AppRepositoryServiceAppDefinition including all App information like additional Properties (e.g. documentation).getAppDefinition in interface AppRepositoryServicepublic AppModel getAppModel(String appDefinitionId)
AppRepositoryServiceAppModel including all App model info.getAppModel in interface AppRepositoryServicepublic String convertAppModelToJson(String appDefinitionId)
AppRepositoryServiceAppModel as a JSON string.convertAppModelToJson in interface AppRepositoryServicepublic void deleteDeployment(String deploymentId, boolean cascade)
AppRepositoryServicedeleteDeployment in interface AppRepositoryServicedeploymentId - id of the deployment, cannot be null.public AppDeploymentQuery createDeploymentQuery()
AppRepositoryServicecreateDeploymentQuery in interface AppRepositoryServicepublic AppDefinitionQuery createAppDefinitionQuery()
AppRepositoryServicecreateAppDefinitionQuery in interface AppRepositoryServicepublic void setAppDefinitionCategory(String appDefinitionId, String category)
AppRepositoryServiceAppDefinitionBaseQuery.appDefinitionCategory(String).setAppDefinitionCategory in interface AppRepositoryServiceCopyright © 2023 Flowable. All rights reserved.