public abstract class OrphanedItemStrategy extends AbstractDescribableImpl<OrphanedItemStrategy> implements ExtensionPoint
ComputedFolder
.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
OrphanedItemStrategy() |
Modifier and Type | Method and Description |
---|---|
OrphanedItemStrategyDescriptor |
getDescriptor() |
abstract <I extends TopLevelItem> |
orphanedItems(ComputedFolder<I> owner,
Collection<I> orphaned,
TaskListener listener)
parameters and return value as in
ComputedFolder.orphanedItems(java.util.Collection<I>, hudson.model.TaskListener) |
public abstract <I extends TopLevelItem> Collection<I> orphanedItems(ComputedFolder<I> owner, Collection<I> orphaned, 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 Describable<OrphanedItemStrategy>
getDescriptor
in class AbstractDescribableImpl<OrphanedItemStrategy>
Copyright © 2016–2020. All rights reserved.