Class HasSubmoduleUpdatePredicate

  • All Implemented Interfaces:
    Matchable<ChangeData>

    public class HasSubmoduleUpdatePredicate
    extends SubmitRequirementPredicate
    Submit requirement predicate that returns true if the diff of the latest patchset against the parent number identified by base has a submodule modified file, that is, a .gitmodules or a git link file.
    • Method Detail

      • match

        public boolean match​(ChangeData cd)
        Description copied from interface: Matchable
        Does this predicate match this object?
      • getCost

        public int getCost()
        Description copied from interface: Matchable
        Returns a cost estimate to run this predicate, higher figures cost more.