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

org.unlaxer.base.StateFullExecutor Maven / Gradle / Ivy

package org.unlaxer.base;

import java.util.Set;

public interface StateFullExecutor,CONTEXT , RETURN>{
	
	public interface StateAndReturning{
		STATE state();
		RETURN returning();
		default boolean returningRequired() {
			
			return returning().getClass() != Void.class;
		}
	}
	
	Set startStates();
	Set endStates();
	
	StateAndReturning execute(CONTEXT context);
		
	
//	default Logger logger() {
//		return AuthLogger.logger();
//	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy