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

com.fluxtion.runtime.callback.InternalEventProcessor Maven / Gradle / Ivy

package com.fluxtion.runtime.callback;

import java.util.function.BooleanSupplier;

public interface InternalEventProcessor {

    void onEvent(Object event);

    void onEventInternal(Object event);

    default void triggerCalculation() {
    }

    void bufferEvent(Object event);

    boolean isDirty(Object node);

    BooleanSupplier dirtySupplier(Object node);

    void setDirty(Object node, boolean dirtyFlag);

     T getNodeById(String id) throws NoSuchFieldException;

    default  T exportedService() {
        return (T) this;
    }

    default  T exportedService(Class exportedServiceClass) {
        T svcExport = exportedService();
        return exportedServiceClass.isInstance(svcExport) ? exportedService() : null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy