com.googlecode.jpattern.core.chain
Class AChainElementUnblocking

java.lang.Object
  extended by com.googlecode.jpattern.core.chain.AChainElement
      extended by com.googlecode.jpattern.core.chain.AChainElementUnblocking
All Implemented Interfaces:
IChainElement, java.io.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 activated also if a previous element of the same chain has been executed.
See Also:
Serialized Form

Constructor Summary
protected AChainElementUnblocking(IChainElement previousChainElement)
           
 
Method Summary
 boolean tryExecution(IChainResult previousElementResult)
           
 
Methods inherited from class com.googlecode.jpattern.core.chain.AChainElement
exec, execute, getPreviousChainElement, verifyCondition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AChainElementUnblocking

protected AChainElementUnblocking(IChainElement previousChainElement)
Method Detail

tryExecution

public final boolean tryExecution(IChainResult previousElementResult)
Specified by:
tryExecution in class AChainElement


Copyright © 2011. All Rights Reserved.