snaker-core/src/main/java/org/snaker/engine/model/ProcessModel.java
public List<WorkModel> getWorkModels() {
		List<WorkModel> models = new ArrayList<WorkModel>();
		for(NodeModel node : nodes) {
			if(node instanceof WorkModel) {
				models.add((WorkModel)node);
			}
		}
		return models;
	}
public List<WorkModel> getWorkModels() {
		List<WorkModel> models = new ArrayList<WorkModel>();
		for(NodeModel node : nodes) {
			if(node instanceof WorkModel) {
				models.add((WorkModel)node);
			}
		}
		return models;
	}
返回当前流程定义的所有工作任务节点模型
@return
@deprecated