|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.net.policies.NotPolicy
public class NotPolicy
Performs a basic logical NOT evaluation on a child policy (e.g. turns true to false and false to true).
This policy is useful for combining simpler policies to create complex policy decisions.
| Constructor Summary | |
|---|---|
NotPolicy(AcceptPolicy policy)
Create an NOT policy for the given policy. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(Connection connection)
Reverse the decision of this policies policy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotPolicy(AcceptPolicy policy)
Create an NOT policy for the given policy.
policy - the policy that will be NOT'd.| Method Detail |
|---|
public boolean evaluate(Connection connection)
Reverse the decision of this policies policy.
evaluate in interface AcceptPolicyconnection - the connection being evaluated.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||