public class OverlayUtils extends Object
Modifier and Type | Field and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
jsonMapper |
Constructor and Description |
---|
OverlayUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
copyAndTemplate(String classpathResource,
Path target,
StackModel model) |
static void |
copyFiles(List<OverlayFile> files,
Path overlayRoot) |
static void |
setOverlayPermissions(Path overlay) |
static void |
setTempPermissions(Path temp) |
static void |
writeFeaturesBoot(Path dest,
List<String> features) |
static void |
writeProps(Path dest,
Map<String,String> propMap) |
static void |
writeYaml(Path path,
Map<String,Object> values) |
public static void copyFiles(List<OverlayFile> files, Path overlayRoot)
public static void copyAndTemplate(String classpathResource, Path target, StackModel model)
public static void setOverlayPermissions(Path overlay) throws IOException
IOException
public static void setTempPermissions(Path temp) throws IOException
IOException
public static void writeYaml(Path path, Map<String,Object> values) throws IOException
IOException
Copyright © 2022. All rights reserved.