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

com.jpattern.core.chain.AChainElementUnblocking Maven / Gradle / Ivy

There is a newer version: 3.6.2
Show newest version
package com.jpattern.core.chain;

/**
 * 
 * @author Francesco Cina'
 *
 * 28/gen/2011
 * 
 * This is an element of a Chain of responsibility.
 * The method execute() is called only if the verifyCondition() returns true.
 * This element is always activated, even if a previous element of the same chain has been executed. 
 */
public abstract class AChainElementUnblocking extends AChainElement {
	
	protected AChainElementUnblocking(IChainElement previousChainElement) {
		super(previousChainElement);
	}
	
	public final boolean tryExecution(IChainResult previousElementResult) {
		return true;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy