com.googlecode.jpattern.core.chain
Class ChainResult

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

public class ChainResult
extends java.lang.Object
implements IChainResult

Author:
Francesco Cina' 29/gen/2011
See Also:
Serialized Form

Constructor Summary
ChainResult()
           
ChainResult(boolean executed)
           
 
Method Summary
 boolean isExecuted()
          Whether an or more elements of the chain are been executed
 void setExecuted(boolean executed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainResult

public ChainResult()

ChainResult

public ChainResult(boolean executed)
Method Detail

isExecuted

public boolean isExecuted()
Description copied from interface: IChainResult
Whether an or more elements of the chain are been executed

Specified by:
isExecuted in interface IChainResult
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

setExecuted

public void setExecuted(boolean executed)


Copyright © 2011. All Rights Reserved.