Class BranchCalculationOptions


  • public class BranchCalculationOptions
    extends Object
    • Constructor Detail

      • BranchCalculationOptions

        public BranchCalculationOptions()
    • Method Detail

      • getBranchesPolicy

        @NotNull
        public BranchesPolicy getBranchesPolicy()
      • isReturnNothingIfBtBranchFilterIsInvalid

        public boolean isReturnNothingIfBtBranchFilterIsInvalid()
      • setReturnNothingIfBtBranchFilterIsInvalid

        public BranchCalculationOptions setReturnNothingIfBtBranchFilterIsInvalid​(boolean returnNothingIfIncorrect)
      • getIncludeBranchesFromDependencies

        @Nullable
        public Boolean getIncludeBranchesFromDependencies()
      • setIncludeBranchesFromDependencies

        @NotNull
        public BranchCalculationOptions setIncludeBranchesFromDependencies​(@Nullable
                                                                           Boolean includeBranchesFromDependencies)
      • isComputeTimestamps

        public boolean isComputeTimestamps()
      • isApplyBranchFilter

        public boolean isApplyBranchFilter()
      • isSortResult

        public boolean isSortResult()
      • setDependenciesFilter

        @NotNull
        public BranchCalculationOptions setDependenciesFilter​(@NotNull
                                                              Filter<SBuildType> dependenciesFilter)
        Sets a filter which should be used when branches from dependencies are calculated. The filter is applied only if branches from dependencies should be returned.
        Parameters:
        dependenciesFilter -
        Since:
        2022.02
      • getDependenciesFilter

        @NotNull
        public Filter<SBuildType> getDependenciesFilter()