com.googlecode.jpattern.core.chain
Class AChainElementBlocking
java.lang.Object
com.googlecode.jpattern.core.chain.AChainElement
com.googlecode.jpattern.core.chain.AChainElementBlocking
- All Implemented Interfaces:
- IChainElement, Serializable
public abstract class AChainElementBlocking
- 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 not activated 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 |
AChainElementBlocking
protected AChainElementBlocking(IChainElement previousChainElement)
tryExecution
public final boolean tryExecution(IChainResult previousElementResult)
- Specified by:
tryExecution in class AChainElement
Copyright © 2011. All Rights Reserved.