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

io.vertx.tp.workflow.uca.conformity.Gain Maven / Gradle / Ivy

The newest version!
package io.vertx.tp.workflow.uca.conformity;

import cn.vertxup.workflow.domain.tables.pojos.WTicket;
import cn.vertxup.workflow.domain.tables.pojos.WTodo;
import io.vertx.core.Future;
import io.vertx.core.json.JsonObject;
import org.camunda.bpm.engine.task.Task;

/*
 * Task Gain that based on different lifecycle
 *
 * The constructor could be bind to ticket
 */
public interface Gain {

    static Gain starter(final WTicket ticket) {
        return new GainStart(ticket);
    }

    static Gain generator(final WTicket ticket) {
        return new GainGenerate(ticket);
    }

    Future buildAsync(JsonObject params, Task task, WTodo wTask);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy