public abstract class OrganizationFolderProperty<C extends OrganizationFolder>
extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C>
AbstractFolderProperty that is specific to OrganizationFolders.ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
OrganizationFolderProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyDecoration(MultiBranchProject<?,?> child,
TaskListener listener)
Performs an idempotent application of this property's decoration to the supplied child.
|
protected abstract void |
decorate(MultiBranchProject<?,?> child,
TaskListener listener)
SPI for performing an idempotent application of this property's decoration to the supplied child.
|
OrganizationFolderPropertyDescriptor |
getDescriptor() |
public final void applyDecoration(@NonNull
MultiBranchProject<?,?> child,
@NonNull
TaskListener listener)
BulkChange that
covers the supplied child.child - the child to decorate.listener - a listener to log any commentary to.protected abstract void decorate(@NonNull
MultiBranchProject<?,?> child,
@NonNull
TaskListener listener)
throws IOException
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.public OrganizationFolderPropertyDescriptor getDescriptor()
getDescriptor in interface Describable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>getDescriptor in class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C extends OrganizationFolder>Copyright © 2016–2019. All rights reserved.