Conditions | 1 |
Total Lines | 3 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.hltech.vaunt.generator.domain.representation; |
||
16 | public void writeServiceRepresentation(Service service, String targetDirectory) throws IOException { |
||
17 | File targetFile = Paths.get(targetDirectory).resolve(service.getName().concat(".json")).toFile(); |
||
18 | mapper.writeValue(targetFile, service); |
||
19 | } |
||
21 |