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

it.amattioli.workstate.config.MetaSequentialStateBuilder 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 MetaSequentialStateBuilder extends MetaCompositeStateBuilder {

	public MetaSequentialStateBuilder(String tag, String id) {
		super(tag, id);
	}

	protected MetaState createMetaState() {
		MetaSequentialState result = new MetaSequentialState(getTag(), getEntryAction(), getExitAction());
		for (MetaAttribute currAttribute: getTempAttributeRepository()) {
			result.addAttribute(currAttribute);
		}
		for (MetaState currSubstate: getTempSubstateRepository()) {
			result.addMetaState(currSubstate);
		}
		return result;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy