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

com.chartiq.finsemble.model.app.AppIntent Maven / Gradle / Ivy

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2018-2020 by ChartIQ, Inc.
// Licensed under the ChartIQ, Inc. Developer License Agreement https://www.chartiq.com/developer-license-agreement
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
package com.chartiq.finsemble.model.app;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.Map;

/**
 * A DTO, part of the "apps" API. This is not FDC3 specific, though each version of DesktopAgent is encouraged to
 * provide a transposition between this model and the implemented FDC3 model.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class AppIntent {

    // Intents the app listens for
    private Map listensFor;

    // List of intents raised by the app
    private Map raises;

    /**
     * Gets the intent/listener mapping.
     *
     * @return the intent/listener mapping
     */
    public Map getListensFor() {
        return listensFor;
    }

    /**
     * Sets the intent/listener mapping.
     *
     * @param listensFor the intent/listener mapping
     */
    public void setListensFor(Map listensFor) {
        this.listensFor = listensFor;
    }

    /**
     * Gets the intent/raise mapping.
     *
     * @return the intent/raise mapping
     */
    public Map getRaises() {
        return raises;
    }

    /**
     * Sets the intent/raise mapping.
     *
     * @param raises the intent/raise mapping
     */
    public void setRaises(Map raises) {
        this.raises = raises;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy