Class BuildTypeBranches
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildTypeBranches
-
public class BuildTypeBranches extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BuildTypeBranches.BuildTypeVcsBranchesInfo
-
Field Summary
Fields Modifier and Type Field Description static String
TEAMCITY_ACTIVE_BUILD_BRANCHES_AGE_HOURS
static String
TEAMCITY_ACTIVE_VCS_BRANCHES_AGE_DAYS
-
Constructor Summary
Constructors Constructor Description BuildTypeBranches(BuildTypeEx buildType, BuildTypeContext buildTypeContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupDummyPromotionsCache(boolean removeAll)
static long
getActiveBuildBranchAgeMillis(SBuildType buildType)
static long
getActiveVcsBranchAgeMillis(SBuildType buildType)
static long
getAge(BuildTypeEx buildType, String propertyName, long scale, int defaultValue)
List<ChangeDescriptor>
getChangesInBranches(List<BranchEx> branches, ChangesCalculationOptionsEx options)
List<ChangeDescriptor>
getChangesInBranches(List<BranchEx> branches, SelectPrevBuildPolicy prevBuildPolicy, VcsModificationProcessor callback)
List<BuildRevisionEx>
getDummyPromotionRevisions(String logicalBranchName)
static boolean
showDefaultBranchChangesForWildcardBranch()
void
updateActiveBuildBranches()
-
-
-
Field Detail
-
TEAMCITY_ACTIVE_VCS_BRANCHES_AGE_DAYS
public static final String TEAMCITY_ACTIVE_VCS_BRANCHES_AGE_DAYS
- See Also:
- Constant Field Values
-
TEAMCITY_ACTIVE_BUILD_BRANCHES_AGE_HOURS
public static final String TEAMCITY_ACTIVE_BUILD_BRANCHES_AGE_HOURS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildTypeBranches
public BuildTypeBranches(@NotNull BuildTypeEx buildType, @NotNull BuildTypeContext buildTypeContext)
-
-
Method Detail
-
getActiveVcsBranchAgeMillis
public static long getActiveVcsBranchAgeMillis(@NotNull SBuildType buildType)
-
getActiveBuildBranchAgeMillis
public static long getActiveBuildBranchAgeMillis(@NotNull SBuildType buildType)
-
getAge
public static long getAge(@NotNull BuildTypeEx buildType, @NotNull String propertyName, long scale, int defaultValue)
-
getChangesInBranches
@NotNull public List<ChangeDescriptor> getChangesInBranches(@NotNull List<BranchEx> branches, @NotNull SelectPrevBuildPolicy prevBuildPolicy, @NotNull VcsModificationProcessor callback)
-
getChangesInBranches
@NotNull public List<ChangeDescriptor> getChangesInBranches(@NotNull List<BranchEx> branches, @NotNull ChangesCalculationOptionsEx options)
-
updateActiveBuildBranches
public void updateActiveBuildBranches()
-
getDummyPromotionRevisions
@NotNull public List<BuildRevisionEx> getDummyPromotionRevisions(@NotNull String logicalBranchName)
-
cleanupDummyPromotionsCache
public void cleanupDummyPromotionsCache(boolean removeAll)
-
showDefaultBranchChangesForWildcardBranch
public static boolean showDefaultBranchChangesForWildcardBranch()
-
-