com.googlecode.jpattern.core.chain
Class AChainElementUnblocking
java.lang.Object
com.googlecode.jpattern.core.chain.AChainElement
com.googlecode.jpattern.core.chain.AChainElementUnblocking
- All Implemented Interfaces:
- IChainElement, Serializable
public abstract class AChainElementUnblocking
- extends AChainElement
- 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.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AChainElementUnblocking
protected AChainElementUnblocking(IChainElement previousChainElement)
tryExecution
public final boolean tryExecution(IChainResult previousElementResult)
- Specified by:
tryExecution in class AChainElement
Copyright © 2011. All Rights Reserved.