Interface AppRepositoryService


public interface AppRepositoryService
  • Method Details

    • createDeployment

      AppDeploymentBuilder createDeployment()
      Starts creating a new deployment
    • getDeploymentResourceNames

      List<String> getDeploymentResourceNames(String deploymentId)
      Retrieves a list of deployment resources for the given deployment, ordered alphabetically.
      Parameters:
      deploymentId - id of the deployment, cannot be null.
    • getResourceAsStream

      InputStream getResourceAsStream(String deploymentId, String resourceName)
      Gives access to a deployment resource through a stream of bytes.
      Parameters:
      deploymentId - id of the deployment, cannot be null.
      resourceName - name of the resource, cannot be null.
      Throws:
      FlowableObjectNotFoundException - when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
    • getAppModel

      AppModel getAppModel(String appDefinitionId)
      Returns the AppModel including all App model info.
    • convertAppModelToJson

      String convertAppModelToJson(String appDefinitionId)
      Returns the AppModel as a JSON string.
    • getAppDefinition

      AppDefinition getAppDefinition(String appDefinitionId)
      Returns the AppDefinition including all App information like additional Properties (e.g. documentation).
    • deleteDeployment

      void deleteDeployment(String deploymentId, boolean cascade)
      Deletes the given deployment and cascade deletion to app instances, history case instances and jobs.
      Parameters:
      deploymentId - id of the deployment, cannot be null.
    • createDeploymentQuery

      AppDeploymentQuery createDeploymentQuery()
      Query deployments
    • createAppDefinitionQuery

      AppDefinitionQuery createAppDefinitionQuery()
      Query app definitions
    • setAppDefinitionCategory

      void setAppDefinitionCategory(String appDefinitionId, String category)
      Sets the category of the app definition. App definitions can be queried by category: see AppDefinitionBaseQuery.appDefinitionCategory(String).
      Throws:
      FlowableObjectNotFoundException - if no app definition with the provided id can be found.