Class BuildTypeBranches


  • public class BuildTypeBranches
    extends Object
    • 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

    • 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)
      • updateActiveBuildBranches

        public void updateActiveBuildBranches()
      • getDummyPromotionRevisions

        @NotNull
        public List<BuildRevisionEx> getDummyPromotionRevisions​(@NotNull
                                                                String logicalBranchName)
      • cleanupDummyPromotionsCache

        public void cleanupDummyPromotionsCache​(boolean removeAll)
      • showDefaultBranchChangesForWildcardBranch

        public static boolean showDefaultBranchChangesForWildcardBranch()