Interface AgentRepositoryService
public interface AgentRepositoryService
-
Method Summary
Modifier and TypeMethodDescriptionQuery for agent definitions.Starts creating a new deploymentQuery for agent deployments.Query for knowledgebase definitions.voiddeleteDeployment(String deploymentId) Deletes the given deployment.getAgentDefinitionModel(String agentDefinitionId) Returns theAgentDefinitionModel.getAgentDefinitionModelByKeyAndTenant(String agentDefinitionKey, String tenantId) Returns theAgentDefinitionModel.getDeploymentResourceNames(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.List<org.flowable.identitylink.api.IdentityLink> getIdentityLinksForAgentDefinition(String agentDefinitionId) getKnowledgeBaseDefinitionModel(String knowledgeBaseDefinitionId) Returns theKnowledgeBaseDefinitionModel.getKnowledgeBaseDefinitionModelByKeyAndTenant(String knowledgeBaseDefinitionKey, String tenantId) Returns theKnowledgeBaseDefinitionModel.getResourceAsStream(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.
-
Method Details
-
createDeployment
AgentDeploymentBuilder createDeployment()Starts creating a new deployment -
getDeploymentResourceNames
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Parameters:
deploymentId- id of the deployment, cannot be null.
-
getResourceAsStream
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
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
Returns theAgentDefinitionModel. -
getAgentDefinitionModelByKeyAndTenant
AgentDefinitionModel getAgentDefinitionModelByKeyAndTenant(String agentDefinitionKey, String tenantId) Returns theAgentDefinitionModel. -
getIdentityLinksForAgentDefinition
-
createKnowledgeBaseDefinitionQuery
KnowledgeBaseDefinitionQuery createKnowledgeBaseDefinitionQuery()Query for knowledgebase definitions. -
getKnowledgeBaseDefinitionModel
Returns theKnowledgeBaseDefinitionModel. -
getKnowledgeBaseDefinitionModelByKeyAndTenant
KnowledgeBaseDefinitionModel getKnowledgeBaseDefinitionModelByKeyAndTenant(String knowledgeBaseDefinitionKey, String tenantId) Returns theKnowledgeBaseDefinitionModel.
-