public class ProcessConfigUtils
extends java.lang.Object
| Constructor and Description |
|---|
ProcessConfigUtils(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.fasterxml.jackson.databind.ObjectMapper yamlMapper,
PlaceholderResolverJsonNodeFactory placeholderResolverJsonNodeFactory) |
| Modifier and Type | Method and Description |
|---|---|
JmxProcess |
parseProcess(java.io.File file)
Uses jackson to load json configuration from a File into a full object
tree representation of that json.
|
@Inject public ProcessConfigUtils(@Nonnull @JsonFormat com.fasterxml.jackson.databind.ObjectMapper jsonMapper, @Nonnull @YamlFormat com.fasterxml.jackson.databind.ObjectMapper yamlMapper, @Nonnull PlaceholderResolverJsonNodeFactory placeholderResolverJsonNodeFactory)
public JmxProcess parseProcess(java.io.File file) throws java.io.IOException
java.io.IOExceptionCopyright © 2010-2018 JmxTrans team. All Rights Reserved.