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

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

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

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

public class UserTask extends AbstractElement {

    private static final long serialVersionUID = 1L;

    private final List extensions;

    public UserTask(String id) {
        this(id, (List) null);
    }

    public UserTask(String id, List extensions) {
        super(id);
        this.extensions = extensions;
    }

    public UserTask(String id, Extension... extensions) {
        this(id, Arrays.asList(extensions));
    }

    public List getExtensions() {
        return extensions;
    }

    public interface Extension extends Serializable {
    }

    @Override
    public String toString() {
        return "UserTask (" + getId() + ") {" +
                "extensions=" + extensions +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy