com.googlecode.jpattern.core.chain
Class NullChainElement

java.lang.Object
  extended by com.googlecode.jpattern.core.chain.NullChainElement
All Implemented Interfaces:
IChainElement, java.io.Serializable

public class NullChainElement
extends java.lang.Object
implements IChainElement

Author:
Francesco Cina' 29/gen/2011 This is the NullObject relative to the IChainElement Interface
See Also:
Serialized Form

Constructor Summary
NullChainElement()
           
 
Method Summary
 IChainResult exec()
          Execute the chain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullChainElement

public NullChainElement()
Method Detail

exec

public IChainResult exec()
Description copied from interface: IChainElement
Execute the chain

Specified by:
exec in interface IChainElement
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


Copyright © 2011. All Rights Reserved.