|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cuny.cat.market.AuctioneerPolicy
edu.cuny.cat.market.accepting.ShoutAcceptingPolicy
edu.cuny.cat.market.accepting.OnlyNewShoutDecidingAcceptingPolicy
edu.cuny.cat.market.accepting.NeverAcceptingPolicy
public class NeverAcceptingPolicy
the tightest accepting policy under which all shouts are rejected.
Field Summary |
---|
Fields inherited from class edu.cuny.cat.market.accepting.ShoutAcceptingPolicy |
---|
P_DEF_BASE |
Fields inherited from class edu.cuny.cat.market.AuctioneerPolicy |
---|
auctioneer |
Constructor Summary | |
---|---|
NeverAcceptingPolicy()
|
Method Summary | |
---|---|
void |
check(Shout shout)
rejects all shouts and IllegalShoutException is always thrown. |
Methods inherited from class edu.cuny.cat.market.accepting.OnlyNewShoutDecidingAcceptingPolicy |
---|
check |
Methods inherited from class edu.cuny.cat.market.AuctioneerPolicy |
---|
eventOccurred, getAuctioneer, initialize, reset, setAuctioneer, setup, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NeverAcceptingPolicy()
Method Detail |
---|
public void check(Shout shout) throws IllegalShoutException
IllegalShoutException
is always thrown.
check
in class OnlyNewShoutDecidingAcceptingPolicy
shout
- the shout being checked.
IllegalShoutException
OnlyNewShoutDecidingAcceptingPolicy.check(edu.cuny.cat.core.Shout)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |