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

org.jetlinks.plugin.internal.rule.RuleEnginePlugin Maven / Gradle / Ivy

The newest version!
package org.jetlinks.plugin.internal.rule;

import org.jetlinks.plugin.core.AbstractPlugin;
import org.jetlinks.plugin.core.PluginContext;
import org.jetlinks.plugin.core.PluginType;
import org.jetlinks.plugin.internal.InternalPluginType;
import org.jetlinks.rule.engine.api.task.ExecutionContext;
import reactor.core.Disposable;

public abstract class RuleEnginePlugin extends AbstractPlugin {

    public RuleEnginePlugin(String id, PluginContext context) {
        super(id, context);
    }

    @Override
    public PluginType getType() {
        return InternalPluginType.ruleEngine;
    }

    public abstract Disposable start(ExecutionContext context);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy