Interface AgentRepositoryService


public interface AgentRepositoryService
  • Method Details

    • createDeployment

      AgentDeploymentBuilder 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:
      org.flowable.common.engine.api.FlowableObjectNotFoundException - when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
    • deleteDeployment

      void deleteDeployment(String deploymentId)
      Deletes the given deployment.
      Parameters:
      deploymentId - id of the deployment, cannot be null.
    • createDeploymentQuery

      AgentDeploymentQuery createDeploymentQuery()
      Query for agent deployments.
    • createAgentDefinitionQuery

      AgentDefinitionQuery createAgentDefinitionQuery()
      Query for agent definitions.
    • getAgentDefinitionModel

      AgentDefinitionModel getAgentDefinitionModel(String agentDefinitionId)
    • getAgentDefinitionModelByKeyAndTenant

      AgentDefinitionModel getAgentDefinitionModelByKeyAndTenant(String agentDefinitionKey, String tenantId)
    • getIdentityLinksForAgentDefinition

      List<org.flowable.identitylink.api.IdentityLink> getIdentityLinksForAgentDefinition(String agentDefinitionId)
    • createKnowledgeBaseDefinitionQuery

      KnowledgeBaseDefinitionQuery createKnowledgeBaseDefinitionQuery()
      Query for knowledgebase definitions.
    • getKnowledgeBaseDefinitionModel

      KnowledgeBaseDefinitionModel getKnowledgeBaseDefinitionModel(String knowledgeBaseDefinitionId)
    • getKnowledgeBaseDefinitionModelByKeyAndTenant

      KnowledgeBaseDefinitionModel getKnowledgeBaseDefinitionModelByKeyAndTenant(String knowledgeBaseDefinitionKey, String tenantId)