it.amattioli.workstate.config.ExternalTransitionBuilder Maven / Gradle / Ivy
package it.amattioli.workstate.config;
import it.amattioli.workstate.core.*;
public class ExternalTransitionBuilder extends TransitionBuilder {
private MetaState start;
private MetaState end;
public ExternalTransitionBuilder(MetaEvent event, MetaState start, MetaState end) {
super(event);
this.start = start;
this.end = end;
}
public Transition getBuiltTransition() {
return new ExternalTransition(getEvent(), start, end, getAction(), getGuard());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy