Class RevFlagFilter


  • public abstract class RevFlagFilter
    extends RevFilter
    Matches only commits with some/all RevFlags already set.
    • Method Detail

      • has

        public static RevFilter has​(RevFlag a)
        Create a new filter that tests for a single flag.
        Parameters:
        a - the flag to test.
        Returns:
        filter that selects only commits with flag a.
      • hasAll

        public static RevFilter hasAll​(RevFlag... a)
        Create a new filter that tests all flags in a set.
        Parameters:
        a - set of flags to test.
        Returns:
        filter that selects only commits with all flags in a.
      • hasAll

        public static RevFilter hasAll​(RevFlagSet a)
        Create a new filter that tests all flags in a set.
        Parameters:
        a - set of flags to test.
        Returns:
        filter that selects only commits with all flags in a.
      • hasAny

        public static RevFilter hasAny​(RevFlag... a)
        Create a new filter that tests for any flag in a set.
        Parameters:
        a - set of flags to test.
        Returns:
        filter that selects only commits with any flag in a.
      • hasAny

        public static RevFilter hasAny​(RevFlagSet a)
        Create a new filter that tests for any flag in a set.
        Parameters:
        a - set of flags to test.
        Returns:
        filter that selects only commits with any flag in a.
      • clone

        public RevFilter clone()

        Clone this revision filter, including its parameters.

        This is a deep clone. If this filter embeds objects or other filters it must also clone those, to ensure the instances do not share mutable data.

        Specified by:
        clone in class RevFilter