use of org.alfresco.service.cmr.workflow.WorkflowDeployment in project alfresco-repository by Alfresco.
the class AbstractWorkflowServiceIntegrationTest method deployDefinition.
protected WorkflowDefinition deployDefinition(String resource) {
InputStream input = getInputStream(resource);
WorkflowDeployment deployment = workflowService.deployDefinition(getEngine(), input, XML);
WorkflowDefinition definition = deployment.getDefinition();
return definition;
}
Aggregations