### Question:
ProcessDefinitionHandler { public List<ProcessDefinition> getAllProcessDefinition() { List<ProcessDefinition> list = repositoryService .createProcessDefinitionQuery() .list(); logger.info("[查询全部流程模板] 共 " + list.size() + " 条记录"); return list; }  boolean deploymentProcessDefinition_classpath(String name); List<ProcessDefinition> getAllProcessDefinition(); boolean deleteProcessDefinitionByDeploymentID(String deploymentID);  }### Answer:
@Test public void getAllProcessDefinition(){ List<ProcessDefinition> list = dpf.getAllProcessDefinition(); for(ProcessDefinition pd:list){ logger.info("-------------------------"); logger.info("流程定义ID: "+pd.getId()); logger.info("流程定义的名称: "+pd.getName()); logger.info("流程定义的key: "+pd.getKey()); logger.info("流程定义的版本: "+pd.getVersion()); logger.info("资源名称bpmn文件: "+pd.getResourceName()); logger.info("资源名称png文件: "+pd.getDiagramResourceName()); logger.info("部署对象ID: "+pd.getDeploymentId()); } }