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

io.takari.bpm.model.ExclusiveGateway Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package io.takari.bpm.model;

public class ExclusiveGateway extends AbstractElement {
	
	private static final long serialVersionUID = 1L;

    private final String defaultFlow;

    public ExclusiveGateway(String id) {
        this(id, null);
    }

    public ExclusiveGateway(String id, String defaultFlow) {
        super(id);
        this.defaultFlow = defaultFlow;
    }

    public String getDefaultFlow() {
        return defaultFlow;
    }

    @Override
    public String toString() {
        return "ExclusiveGateway (" + getId() + ") {" +
                "defaultFlow='" + defaultFlow + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy