Class BuildTypeBranchBean


  • public abstract class BuildTypeBranchBean
    extends BranchBean
    Since:
    2018.2
    Author:
    Yegor.Yarko
    • Field Detail

      • myBuildType

        @NotNull
        protected final SBuildType myBuildType
    • Constructor Detail

      • BuildTypeBranchBean

        public BuildTypeBranchBean​(@NotNull
                                   SBuildType buildType)
    • Method Detail

      • getBranches

        @Nullable
        public abstract java.util.Set<Branch> getBranches()
        Can return null if matches all branches or a single branch
      • getBranch

        @Nullable
        public abstract Branch getBranch()
        Returns:
        null if not a single branch
      • getBuildType

        @NotNull
        public SBuildType getBuildType()
      • matches

        public boolean matches​(@Nullable
                               java.lang.String branchName)
      • isSelectedBranchExcluded

        public boolean isSelectedBranchExcluded()
        Specified by:
        isSelectedBranchExcluded in class BranchBean
        Returns:
        true if a single branch is selected in this branch bean but this branch is excluded by build type branch filter
      • matches

        public boolean matches​(@Nullable
                               Branch branch)
      • isMatchesDefault

        public boolean isMatchesDefault()
      • allBranches

        public static BranchBean allBranches()