org.specrunner.runner
Interface IFilter

All Known Implementing Classes:
FilterDefault

public interface IFilter

Filter a block on runner.

Author:
Thiago Santos

Method Summary
 boolean accept(IBlock block)
          Check if a given block is accepted.
 void initialize(IContext context)
          Inicialize filter.
 boolean showMessage(IBlock block)
          Indicates to show message if not accepted.
 

Method Detail

initialize

void initialize(IContext context)
Inicialize filter.

Parameters:
context - The context.

accept

boolean accept(IBlock block)
Check if a given block is accepted.

Parameters:
block - The block to test.
Returns:
true, if block is accepted, false, otherwise.

showMessage

boolean showMessage(IBlock block)
Indicates to show message if not accepted.

Parameters:
block - The block.
Returns:
true, if block must show message, false , otherwise.


Copyright © 2014. All rights reserved.