Class SvnBambooSpecsHandler

    • Constructor Detail

      • SvnBambooSpecsHandler

        public SvnBambooSpecsHandler()
    • Method Detail

      • isNewer

        public boolean isNewer​(@NotNull
                               @NotNull VcsRepositoryData repositoryData,
                               @NotNull
                               @NotNull String rev1,
                               @NotNull
                               @NotNull String rev2)
        Description copied from interface: BambooSpecsHandler
        Returns true if rev2 is a newer revision in the repository than rev1 and therefore the specs should be run. In typical cases, returns true if it is possible to reach rev1 by following parent relationship starting from rev2. Exceptional cases involve suspected force push or 'clear' merges that don't result in changes in specs being connected to the merge commit. In those cases it assumed that rev2 is newer even though no ancestry path exists between rev1 and rev2.
        Specified by:
        isNewer in interface BambooSpecsHandler
      • isWebhookRequired

        public boolean isWebhookRequired()
        Specified by:
        isWebhookRequired in interface BambooSpecsHandler
        Returns:
        true if vcs requires setting webhook for Bamboo Specs processing, false otherwise