ilog.rules.teamserver.model.reporting.impl

Class IlrDefaultReportFilter

  • java.lang.Object
    • ilog.rules.teamserver.model.reporting.impl.IlrDefaultReportFilter
  • All Implemented Interfaces:
    IlrReportFilter


    public class IlrDefaultReportFilter
    extends java.lang.Object
    implements IlrReportFilter
    An implementation of IlrReportFilter used by Decision Center.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean accept(IlrReportContext reportContext, IlrElementDetails element)
      Indicates if an element must be filtered out in the report.
      boolean accept(IlrReportContext reportContext, IlrElementDetails element, java.lang.Object property)
      Indicates if a property of an element must be filtered out in the report.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrDefaultReportFilter

        public IlrDefaultReportFilter()
    • Method Detail

      • accept

        public boolean accept(IlrReportContext reportContext,
                     IlrElementDetails element)
        Indicates if an element must be filtered out in the report.

        The default implementation returns true.

        Specified by:
        accept in interface IlrReportFilter
        Parameters:
        reportContext - The context in which the report is executed.
        element - The element to filter out.
        Returns:
        true if the element is part of the report, and false otherwise.
      • accept

        public boolean accept(IlrReportContext reportContext,
                     IlrElementDetails element,
                     java.lang.Object property)
        Indicates if a property of an element must be filtered out in the report.

        The default implementation filters out multivalued properties.

        Specified by:
        accept in interface IlrReportFilter
        Parameters:
        reportContext - The context in which the report is executed.
        element - The element to filter out.
        property - The property to filter out.
        Returns:
        true if the property is part of the report, and false otherwise.

© Copyright IBM Corp. 1987, 2015