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

it.amattioli.workstate.config.ExternalTransitionBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
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