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

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

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

public class ServiceTask extends AbstractElement {
	
	private static final long serialVersionUID = 1L;
    
    private String name;
    private final String expression;
    private final ExpressionType type;

    public ServiceTask(String id) {
        this(id, ExpressionType.NONE, null);
    }

    public ServiceTask(String id, ExpressionType type, String expression) {
        super(id);
        this.type = type;
        this.expression = expression;
    }

    public String getExpression() {
        return expression;
    }

    public ExpressionType getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }            
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy