All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.logspace.jvm.agent.api.json.EventPropertyJsonHandler Maven / Gradle / Ivy

The newest version!
/**
 * Logspace
 * Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved.
 * This program and the accompanying materials are made available under the terms of
 * the Eclipse Public License Version 1.0, which accompanies this distribution and
 * is available at http://www.eclipse.org/legal/epl-v10.html.
 */
package io.logspace.jvm.agent.api.json;

import java.io.IOException;
import java.util.Collection;

import io.logspace.jvm.agent.shaded.jackson.core.JsonGenerator;
import io.logspace.jvm.agent.shaded.jackson.core.JsonParser;

import io.logspace.jvm.agent.api.event.EventProperties;
import io.logspace.jvm.agent.api.event.EventProperty;

public interface EventPropertyJsonHandler {

    String getFieldName();

    void readEventProperties(EventProperties result, String propertyName, JsonParser jsonParser) throws IOException;

    void writeEventProperties(JsonGenerator jsonGenerator, Collection> properties) throws IOException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy