com.netgrif.application.engine.workflow.domain.eventoutcomes.EventOutcome Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.workflow.domain.eventoutcomes;
import com.netgrif.application.engine.petrinet.domain.I18nString;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
public abstract class EventOutcome {
// todo doplnenie referencie na event po implementácii event loggingu
private I18nString message;
private List outcomes = new ArrayList<>();
protected EventOutcome() {
}
protected EventOutcome(I18nString message) {
this();
this.message = message;
}
protected EventOutcome(I18nString message, List outcomes) {
this(message);
this.outcomes = outcomes;
}
public void addOutcome(EventOutcome eventOutcome) {
this.outcomes.add(eventOutcome);
}
public void addOutcomes(List outcomes){
this.outcomes.addAll(outcomes);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy