public interface ChainAware<T,O>
Modifier and Type | Method and Description |
---|---|
Chain<T,O> |
getChain()
If the processor that implements this is part of a chain, it will return a reference to the chain else null
|
Object |
getPredecessor()
Get the item before this one in the Chain
|
void |
setChain(Chain<T,O> chain)
If the processor that implements this is part of a chain, it will have a reference to the chain
|
void |
setPredecessor(Object processor)
Get the item before this one in the Chain
|
void setChain(Chain<T,O> chain)
chain
- as Chain
Chain<T,O> getChain()
Chain
void setPredecessor(Object processor)
Object getPredecessor()
Copyright © 2018. All rights reserved.