public final class ApplicationManifestUtilsV3 extends Object
ManifestV3s. Includes the functionality to transform to and from standard CLI YAML files.| Modifier and Type | Method and Description |
|---|---|
static ManifestV3 |
read(Path path)
Reads a YAML manifest file (defined by the CC API) from a
Path and converts it into a ManifestV3 object. |
static ManifestV3 |
read(Path path,
Path variablesPath)
Reads a YAML manifest file (defined by the CC API) from a
Path and converts it into a ManifestV3 object. |
static void |
write(OutputStream out,
ManifestV3 manifest)
Write a
ManifestV3 to an OutputStream |
static void |
write(Path path,
ManifestV3 manifest)
Write a
ManifestV3 to a Path |
public static ManifestV3 read(Path path)
Path and converts it into a ManifestV3 object. Note that all resolution (both inheritance and common) is performed during read.path - the path to read frompublic static ManifestV3 read(Path path, Path variablesPath)
Path and converts it into a ManifestV3 object. Note that all resolution (both inheritance and common) is performed during read.path - the path to read fromvariablesPath - use variable substitution (described in Add Variables to a Manifest)public static void write(Path path, ManifestV3 manifest)
ManifestV3 to a Pathpath - the path to write tomanifest - the manifest to writepublic static void write(OutputStream out, ManifestV3 manifest)
ManifestV3 to an OutputStreamout - the OutputStream to write tomanifest - the manifest to writeCopyright © 2024. All rights reserved.