Package jetbrains.buildServer.serverSide
Class BranchCalculationOptions
- java.lang.Object
-
- jetbrains.buildServer.serverSide.BranchCalculationOptions
-
public class BranchCalculationOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description BranchCalculationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BranchesPolicygetBranchesPolicy()Filter<SBuildType>getDependenciesFilter()BooleangetIncludeBranchesFromDependencies()booleanisApplyBranchFilter()booleanisComputeTimestamps()booleanisReturnNothingIfBtBranchFilterIsInvalid()booleanisSortResult()BranchCalculationOptionssetApplyBranchFilter(boolean applyBranchFilter)BranchCalculationOptionssetBranchesPolicy(BranchesPolicy branchesPolicy)BranchCalculationOptionssetComputeTimestamps(boolean computeTimestamps)BranchCalculationOptionssetDependenciesFilter(Filter<SBuildType> dependenciesFilter)Sets a filter which should be used when branches from dependencies are calculated.BranchCalculationOptionssetIncludeBranchesFromDependencies(Boolean includeBranchesFromDependencies)BranchCalculationOptionssetReturnNothingIfBtBranchFilterIsInvalid(boolean returnNothingIfIncorrect)BranchCalculationOptionssetSortBranches(boolean sortResult)
-
-
-
Method Detail
-
setBranchesPolicy
@NotNull public BranchCalculationOptions setBranchesPolicy(@NotNull BranchesPolicy branchesPolicy)
-
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()
-
setComputeTimestamps
@NotNull public BranchCalculationOptions setComputeTimestamps(boolean computeTimestamps)
-
setApplyBranchFilter
@NotNull public BranchCalculationOptions setApplyBranchFilter(boolean applyBranchFilter)
-
isApplyBranchFilter
public boolean isApplyBranchFilter()
-
setSortBranches
@NotNull public BranchCalculationOptions setSortBranches(boolean sortResult)
-
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()
-
-