Class Branch.Dead

  • Enclosing class:
    Branch

    public static class Branch.Dead
    extends Branch
    Represents a dead branch.
    • Constructor Detail

      • Dead

        public Dead​(jenkins.scm.api.SCMHead name,
                    List<? extends BranchProperty> properties)
        Constructor.
        Parameters:
        name - branch name.
        properties - the initial branch properties
      • Dead

        public Dead​(Branch b)
        Constructor.
        Parameters:
        b - the branch that is now dead.
        Since:
        2.0
    • Method Detail

      • isBuildable

        public boolean isBuildable()
        Returns true iff the branch is can be built.
        Overrides:
        isBuildable in class Branch
        Returns:
        true iff the branch is can be built.