public class IlrPackageNameStackElementFilter extends java.lang.Object implements IlrStackElementFilter
| Constructor and Description |
|---|
IlrPackageNameStackElementFilter(java.lang.String packageNameAllowed)
Construct an instance of filter with a package name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(IlrStackElement element)
Returns
true if the package name of the fully qualified class name contains the package name given
in the constructor of this. |
public IlrPackageNameStackElementFilter(java.lang.String packageNameAllowed)
packageNameAllowed - name of package that should be allowed in the stack trace.public boolean accept(IlrStackElement element)
true if the package name of the fully qualified class name contains the package name given
in the constructor of this.accept in interface IlrStackElementFilterelement - instance of IlrStackElementtrue if the element should be in the stack trace.IlrStackElement.getPackageName()© Copyright IBM Corp. 1987, 2017