public abstract class OrphanedItemStrategy extends hudson.model.AbstractDescribableImpl<OrphanedItemStrategy> implements hudson.ExtensionPoint
ComputedFolder.| Constructor and Description |
|---|
OrphanedItemStrategy() |
| Modifier and Type | Method and Description |
|---|---|
OrphanedItemStrategyDescriptor |
getDescriptor() |
abstract <I extends hudson.model.TopLevelItem> |
orphanedItems(ComputedFolder<I> owner,
Collection<I> orphaned,
hudson.model.TaskListener listener)
parameters and return value as in
ComputedFolder.orphanedItems(java.util.Collection<I>, hudson.model.TaskListener) |
public abstract <I extends hudson.model.TopLevelItem> Collection<I> orphanedItems(ComputedFolder<I> owner, Collection<I> orphaned, hudson.model.TaskListener listener) throws IOException, InterruptedException
ComputedFolder.orphanedItems(java.util.Collection<I>, hudson.model.TaskListener)I - the type of item.owner - the owning folder.orphaned - a nonempty set of items which no longer are supposed to be herelistener - the listener to report decisions to.orphaned, representing those children which ought to be removed from the folder
now; items not listed will be left alone for the timeIOException - if there was an I/O issue processing the items.InterruptedException - if interrupted while processing the items.public OrphanedItemStrategyDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<OrphanedItemStrategy>getDescriptor in class hudson.model.AbstractDescribableImpl<OrphanedItemStrategy>Copyright © 2016–2017. All rights reserved.