|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nava.informa.utils.poller.CompositeApprover
class CompositeApprover
Composite approver uses all of its sub-approvers to form decision.
Constructor Summary | |
---|---|
CompositeApprover()
|
Method Summary | |
---|---|
void |
add(PollerApproverIF approver)
Adds new approver to the list. |
boolean |
canAddItem(ItemIF item,
ChannelIF channel)
Decides whether it's possible to add item to the channel or no. |
void |
remove(PollerApproverIF approver)
Removes approver from the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
CompositeApprover()
Method Detail |
---|
public final boolean canAddItem(ItemIF item, ChannelIF channel)
canAddItem
in interface PollerApproverIF
item
- item to add.channel
- destination channel.
public final void add(PollerApproverIF approver)
approver
- new approver.public final void remove(PollerApproverIF approver)
approver
- registered approver.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |