org.sonar.api.workflow.condition
Class NotCondition

java.lang.Object
  extended by org.sonar.api.workflow.condition.Condition
      extended by org.sonar.api.workflow.condition.NotCondition

@Beta
public final class NotCondition
extends Condition

Since:
3.1

Constructor Summary
NotCondition(Condition c)
           
 
Method Summary
 boolean doVerify(Review review, WorkflowContext context)
           
 
Methods inherited from class org.sonar.api.workflow.condition.Condition
isOnContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotCondition

public NotCondition(Condition c)
Method Detail

doVerify

public boolean doVerify(@Nullable
                        Review review,
                        WorkflowContext context)
Specified by:
doVerify in class Condition
Parameters:
review - the review on "review conditions" like StatusCondition, null on "context conditions" like AdminRoleCondition or ProjectPropertyCondition
Returns:
is the condition verified ?


Copyright © 2009-2012 SonarSource. All Rights Reserved.