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

com.github.hekonsek.vertx.pipes.Pipe Maven / Gradle / Ivy

There is a newer version: 0.4
Show newest version
package com.github.hekonsek.vertx.pipes;

import lombok.Data;

import java.util.Map;

import static java.util.Collections.emptyMap;

@Data
public class Pipe {

    private final String id;

    private final String source;

    private final String function;

    private final String target;

    private final Map configuration;

    public static Pipe pipe(String id, String source, String function) {
        return pipe(id, source, function, null);
    }

    public static Pipe pipe(String id, String source, String function, String target) {
        return new Pipe(id, source, function, target, emptyMap());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy