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

com.adobe.campaign.tests.bridge.plugins.IBSDeserializerPlugin Maven / Gradle / Ivy

/*
 * Copyright 2022 Adobe
 * All Rights Reserved.
 *
 * NOTICE: Adobe permits you to use, modify, and distribute this file in
 * accordance with the terms of the Adobe license agreement accompanying
 * it.
 */
package com.adobe.campaign.tests.bridge.plugins;

import java.util.Map;

public interface IBSDeserializerPlugin {
    /**
     * Lets us know if the given Object applies to this Plugin
     * @param in_object an object we want to deserialize
     * @return true if we can use this plugin for the given Object
     */
    public boolean appliesTo(Object in_object);

    /**
     * Applies the plugin to the given object
     * @param in_object an object we want to deserialize
     * @return A Map of data extracted from the object
     */
    public Map apply(Object in_object);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy