public class ClassLoaderModelJsonSerializer extends Object
| Constructor and Description |
|---|
ClassLoaderModelJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static ClassLoaderModel |
deserialize(File classLoaderModelDescriptor)
Creates a
ClassLoaderModel from the JSON representation |
static String |
serialize(ClassLoaderModel classLoaderModel)
Deprecated.
|
static String |
serialize(ClassLoaderModel classLoaderModel,
boolean prettyPrinting)
Serializes the classloader model to a string
|
static File |
serializeToFile(ClassLoaderModel classLoaderModel,
File destinationFolder)
Serializes the classloader model to the classloader-model.json file in the destination folder
|
static File |
serializeToFile(ClassLoaderModel classLoaderModel,
File destinationFolder,
boolean prettyPrinting)
Serializes the classloader model to the classloader-model.json file in the destination folder
MuleContentGenerator
|
public static ClassLoaderModel deserialize(File classLoaderModelDescriptor)
ClassLoaderModel from the JSON representationclassLoaderModelDescriptor - file containing the classloader model in JSON formatClassLoaderModel matching the provided JSON content@Deprecated public static String serialize(ClassLoaderModel classLoaderModel)
classLoaderModel - the classloader model of the application being packagedpublic static String serialize(ClassLoaderModel classLoaderModel, boolean prettyPrinting)
classLoaderModel - the classloader model of the application being packagedprettyPrinting - if true the json will be printed with pretty print modepublic static File serializeToFile(ClassLoaderModel classLoaderModel, File destinationFolder)
classLoaderModel - the classloader model of the application being packageddestinationFolder - the directory model where the file is going to be writtenpublic static File serializeToFile(ClassLoaderModel classLoaderModel, File destinationFolder, boolean prettyPrinting)
classLoaderModel - the classloader model of the application being packageddestinationFolder - the directory model where the file is going to be writtenprettyPrinting - if true the json will be printed with pretty print modeCopyright © 2019 MuleSoft Inc. All rights reserved.