public interface

IUnitFilter

com.pnfsoftware.jeb.core.IUnitFilter

Class Overview

A filter for units, used by RuntimeProjectUtil utility methods.

Summary

Public Methods
abstract boolean check(IUnit unit)
Determine if the given unit passed the check.Implementors may choose to implement check2(IUnit) instead, which offers more control on the filtering process.
abstract int check2(IUnit unit)
Determine if the given unit passed the check.

Public Methods

public abstract boolean check (IUnit unit)

Determine if the given unit passed the check.Implementors may choose to implement check2(IUnit) instead, which offers more control on the filtering process.

Parameters
unit a unit
Returns
  • true indicates the unit passed the test; the filtering process goes on regarding of that result

public abstract int check2 (IUnit unit)

Determine if the given unit passed the check. An enhanced version of check(IUnit); implementors may implement this method instead.

Parameters
unit a unit
Returns
  • 0= no_match,continue; 1=match,continue; 2=no_match,stop, 3=match,stop