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 BranchesPolicy
getBranchesPolicy()
Filter<SBuildType>
getDependenciesFilter()
Boolean
getIncludeBranchesFromDependencies()
boolean
isApplyBranchFilter()
boolean
isComputeTimestamps()
boolean
isReturnNothingIfBtBranchFilterIsInvalid()
boolean
isSortResult()
BranchCalculationOptions
setApplyBranchFilter(boolean applyBranchFilter)
BranchCalculationOptions
setBranchesPolicy(BranchesPolicy branchesPolicy)
BranchCalculationOptions
setComputeTimestamps(boolean computeTimestamps)
BranchCalculationOptions
setDependenciesFilter(Filter<SBuildType> dependenciesFilter)
Sets a filter which should be used when branches from dependencies are calculated.BranchCalculationOptions
setIncludeBranchesFromDependencies(Boolean includeBranchesFromDependencies)
BranchCalculationOptions
setReturnNothingIfBtBranchFilterIsInvalid(boolean returnNothingIfIncorrect)
BranchCalculationOptions
setSortBranches(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()
-
-