Package jenkins.branch
Class Branch.Dead
java.lang.Object
jenkins.branch.Branch
jenkins.branch.Branch.Dead
- Enclosing class:
- Branch
Represents a dead branch.
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.branch.Branch
Branch.Dead, Branch.TransientJobActionsFactoryImpl
-
Constructor Summary
ConstructorDescriptionConstructor.Dead
(jenkins.scm.api.SCMHead name, List<? extends BranchProperty> properties) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
iff the branch is can be built.Methods inherited from class jenkins.branch.Branch
equals, getAction, getActions, getEncodedName, getHead, getName, getProperties, getProperty, getScm, getSourceId, hashCode, hasProperty
-
Constructor Details
-
Dead
Constructor.- Parameters:
name
- branch name.properties
- the initial branch properties
-
Dead
Constructor.- Parameters:
b
- the branch that is now dead.- Since:
- 2.0
-
-
Method Details
-
isBuildable
public boolean isBuildable()Returnstrue
iff the branch is can be built.- Overrides:
isBuildable
in classBranch
- Returns:
true
iff the branch is can be built.
-