com.atlassian.clover.api.registry

## Interface HasContextFilter

- All Known Subinterfaces:
    ClassInfo, FileInfo, MethodInfo, PackageInfo, ProjectInfo

      public interface HasContextFilter

  Represents a code entity, which can have a context filter defined for metrics.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ContextSet` | `getContextFilter()` Returns context filter for the entity, i.e set of custom statement/method contexts as well as Clover's built-in code contexts.

- - ### Method Detail

    - #### getContextFilter

          ContextSet getContextFilter()

      Returns context filter for the entity, i.e set of custom statement/method contexts as well as Clover's built-in code contexts.
      Returns:
        ContextSet