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

pl.touk.nussknacker.engine.javaapi.process.ProcessConfigCreator Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.engine.javaapi.process;

import pl.touk.nussknacker.engine.api.CustomStreamTransformer;
import pl.touk.nussknacker.engine.api.ProcessListener;
import pl.touk.nussknacker.engine.api.Service;
import pl.touk.nussknacker.engine.api.process.*;

import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import java.util.Optional;

public interface ProcessConfigCreator extends Serializable {

    Map> services(ProcessObjectDependencies processObjectDependencies);
    Map> sourceFactories(ProcessObjectDependencies processObjectDependencies);
    Map> sinkFactories(ProcessObjectDependencies processObjectDependencies);
    Map> customStreamTransformers(ProcessObjectDependencies processObjectDependencies);
    Collection listeners(ProcessObjectDependencies processObjectDependencies);
    ExpressionConfig expressionConfig(ProcessObjectDependencies processObjectDependencies);
    Map buildInfo();
    default Optional asyncExecutionContextPreparer(ProcessObjectDependencies processObjectDependencies) {
      return Optional.empty();
    }
    default ClassExtractionSettings classExtractionSettings(ProcessObjectDependencies processObjectDependencies) {
        return ClassExtractionSettings.DEFAULT;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy