com.googlecode.jpattern.core.chain
Interface IChainElement

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AChainElement, AChainElementBlocking, AChainElementUnblocking, NullChainElement

public interface IChainElement
extends java.io.Serializable

Author:
Francesco Cina' 28/gen/2011 Interface for the "Chain Of Responsibility" pattern

Method Summary
 IChainResult exec()
          Execute the chain
 

Method Detail

exec

IChainResult exec()
                  throws java.lang.Exception
Execute the chain

Returns:
true if one the element did the job; false means that there isn't an element which can be activated at the current condition
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.