public class OrganizationChildOrphanedItemsProperty extends OrganizationFolderProperty<OrganizationFolder>
OrphanedItemStrategy to use for children of a OrganizationFolder.| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationChildOrphanedItemsProperty.DescriptorImpl
Our descriptor.
|
static class |
OrganizationChildOrphanedItemsProperty.Inherit
Special marker class to flag copying the parent strategy.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
OrganizationChildOrphanedItemsProperty(com.cloudbees.hudson.plugins.folder.computed.OrphanedItemStrategy strategy)
Our constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decorate(MultiBranchProject<?,?> child,
TaskListener listener)
SPI for performing an idempotent application of this property's decoration to the supplied child.
|
com.cloudbees.hudson.plugins.folder.computed.OrphanedItemStrategy |
getStrategy()
Returns the strategy we enforce.
|
static OrganizationChildOrphanedItemsProperty |
newDefaultInstance()
Creates a new default instance of this property.
|
applyDecoration, getDescriptor@DataBoundConstructor public OrganizationChildOrphanedItemsProperty(com.cloudbees.hudson.plugins.folder.computed.OrphanedItemStrategy strategy)
public static OrganizationChildOrphanedItemsProperty newDefaultInstance()
public com.cloudbees.hudson.plugins.folder.computed.OrphanedItemStrategy getStrategy()
protected void decorate(@NonNull
MultiBranchProject<?,?> child,
@NonNull
TaskListener listener)
throws IOException
decorate in class OrganizationFolderProperty<OrganizationFolder>child - the child to decorate.listener - a listener to log any commentary to.IOException - as a convenience to implementations as some of the expected changes may call methods
that could throw this but shouldn't because of the API's requirement that a BulkChange contains
the child.Copyright © 2016–2019. All rights reserved.