com.googlecode.jpattern.core.chain
Class ChainResult
java.lang.Object
com.googlecode.jpattern.core.chain.ChainResult
- All Implemented Interfaces:
- IChainResult, Serializable
public class ChainResult
- extends Object
- implements IChainResult
- Author:
- Francesco Cina'
29/gen/2011
- See Also:
- Serialized Form
|
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 |
ChainResult
public ChainResult()
ChainResult
public ChainResult(boolean executed)
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.