Package com.pnfsoftware.jeb.core
Interface IUnitFilter
public interface IUnitFilter
A filter for units, used by
RuntimeProjectUtil
utility methods.-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Determine if the given unit passed the check.Implementors may choose to implementcheck2(IUnit)
instead, which offers more control on the filtering process.default int
Determine if the given unit passed the check.
-
Method Details
-
check
Determine if the given unit passed the check.Implementors may choose to implementcheck2(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
-
check2
Determine if the given unit passed the check. An enhanced version ofcheck(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
-