Class AbstractFilter

    • Constructor Detail

      • AbstractFilter

        public AbstractFilter​(IDataSource datasource,
                              org.palladiosimulator.metricspec.MetricDescription metricDescription)
      • AbstractFilter

        public AbstractFilter​(org.palladiosimulator.metricspec.MetricDescription metricDescription)
    • Method Detail

      • canAccept

        public boolean canAccept​(IDataSource dataSource)
        Determines whether this instance can handle the given data source.
        Specified by:
        canAccept in interface IDataSink
        Parameters:
        dataSource - The IDataSource to be processed by this instance.
        Returns:
        false iff the metric of the given data source is incompatible, otherwise true.
        Throws:
        IllegalArgumentException - In case dataSource == null.
        IllegalStateException - In case this instance has not been initialized.
        See Also:
        MetricEntity.isCompatibleWith(MetricDescription)