Package de.gematik.utils
Class Utils
- java.lang.Object
-
- de.gematik.utils.Utils
-
public class Utils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetItemAsString(CombineItem item)static List<CombineItem>getItemsToCombine(File file, org.apache.maven.plugin.Mojo mojo, boolean useCreated)read the combine_items.json file into the combineItems liststatic org.apache.maven.plugin.logging.LoggetLog()static voidwriteErrors(String msgPreamble, List<String> errors)static voidwriteErrors(String msgPreamble, List<String> errors, String message, boolean shouldAppend)
-
-
-
Method Detail
-
getItemsToCombine
public static List<CombineItem> getItemsToCombine(File file, org.apache.maven.plugin.Mojo mojo, boolean useCreated)
read the combine_items.json file into the combineItems list- Returns:
- list of items to combine
-
getLog
public static org.apache.maven.plugin.logging.Log getLog()
-
writeErrors
public static void writeErrors(String msgPreamble, List<String> errors, String message, boolean shouldAppend)
-
getItemAsString
public static String getItemAsString(CombineItem item)
-
-