Class LevelFilter

    • Constructor Detail

      • LevelFilter

        public LevelFilter​(Level level)
        Create a filter, that lets pass all artifacts, whose level is equal to or more severe (higher) than the given level.
        Parameters:
        level - specifies the passing artifacts.
    • Method Detail

      • passesThrough

        public boolean passesThrough​(Applicability applicability)
        Description copied from class: ApplicabilityFilter
        This method checks, whether a artifact with given applicability would pass the filter.
        Specified by:
        passesThrough in class ApplicabilityFilter
        Parameters:
        applicability - the query applicability
        Returns:
        true, if the parameter applicability is more severe than or equal to the level represented by this filter.
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a string representation