public abstract class DeadBranchStrategy extends hudson.model.AbstractDescribableImpl<DeadBranchStrategy>
Branch projects after they no longer have a source in their
MultiBranchProject.| Constructor and Description |
|---|
DeadBranchStrategy() |
| Modifier and Type | Method and Description |
|---|---|
DeadBranchStrategyDescriptor |
getDescriptor() |
MultiBranchProject<?,?> |
getOwner()
Returns the owner of this branch source.
|
abstract <P extends hudson.model.AbstractProject<P,R> & hudson.model.TopLevelItem,R extends hudson.model.AbstractBuild<P,R>> |
runDeadBranchCleanup(hudson.model.TaskListener listener,
Map<String,P> deadBranches) |
void |
setOwner(MultiBranchProject<?,?> owner)
Called by
MultiBranchProject to set the owner once the source is attached to the project. |
public abstract <P extends hudson.model.AbstractProject<P,R> & hudson.model.TopLevelItem,R extends hudson.model.AbstractBuild<P,R>> void runDeadBranchCleanup(hudson.model.TaskListener listener,
Map<String,P> deadBranches)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic MultiBranchProject<?,?> getOwner()
public void setOwner(MultiBranchProject<?,?> owner)
MultiBranchProject to set the owner once the source is attached to the project.owner - the owner.public DeadBranchStrategyDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<DeadBranchStrategy>getDescriptor in class hudson.model.AbstractDescribableImpl<DeadBranchStrategy>Copyright © 2004-2013. All Rights Reserved.