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

com.fluxtion.ext.streaming.api.PushNotifier Maven / Gradle / Ivy

There is a newer version: 2.10.50
Show newest version
package com.fluxtion.ext.streaming.api;

import com.fluxtion.api.annotations.OnEvent;
import com.fluxtion.api.annotations.PushReference;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * Pushes event notifications from a source to a target. Can be useful for
 * gathering operations where many sources notify a single target of an upstream
 * change. 
 *
 * @author V12 Technology Ltd.
 */
@NoArgsConstructor
@AllArgsConstructor
public class PushNotifier {

    public Object eventSource;
    @PushReference
    public Object eventTarget;

    @OnEvent
    public boolean push() {
        return true;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy