TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.codereview.java
Interface IRuleFilter

All Known Implementing Classes:
AbstractRuleFilter

public interface IRuleFilter


Method Summary
 boolean isInclusive()
           
 boolean isSuccessful()
           
 boolean satisfies(org.eclipse.jdt.core.dom.ASTNode node)
          Determine if the node is satisfied by the specified filter rule
 void setSuccess(boolean successful)
          Sets the success state of the filter.
 

Method Detail

satisfies

public boolean satisfies(org.eclipse.jdt.core.dom.ASTNode node)
Determine if the node is satisfied by the specified filter rule

Parameters:
node - The ASTNode to test
Returns:
true if the node satisifes the filtering rule

isInclusive

public boolean isInclusive()
Returns:
The state of the inclusive flag

isSuccessful

public boolean isSuccessful()
Returns:
whether or not the filter failed

setSuccess

public void setSuccess(boolean successful)
Sets the success state of the filter.

Parameters:
successful - a boolean

TPTP 4.4.0 Platform Project
Public API Specification