Package jenkins.branch
Class OrganizationFolderProperty<C extends OrganizationFolder>
java.lang.Object
hudson.model.AbstractDescribableImpl<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C>
jenkins.branch.OrganizationFolderProperty<C>
- All Implemented Interfaces:
ExtensionPoint,Describable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>,ReconfigurableDescribable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
- Direct Known Subclasses:
OrganizationChildHealthMetricsProperty,OrganizationChildOrphanedItemsProperty,OrganizationChildTriggersProperty
public abstract class OrganizationFolderProperty<C extends OrganizationFolder>
extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C>
A
AbstractFolderProperty that is specific to OrganizationFolders.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyDecoration(MultiBranchProject<?, ?> child, TaskListener listener) Performs an idempotent application of this property's decoration to the supplied child.protected abstract voiddecorate(MultiBranchProject<?, ?> child, TaskListener listener) SPI for performing an idempotent application of this property's decoration to the supplied child.Methods inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
getHealthMetrics, getHealthReports, getItemContainerOverrides, getOwner, reconfigure, reconfigure, setOwner
-
Constructor Details
-
OrganizationFolderProperty
public OrganizationFolderProperty()
-
-
Method Details
-
applyDecoration
public final void applyDecoration(@NonNull MultiBranchProject<?, ?> child, @NonNull TaskListener listener) Performs an idempotent application of this property's decoration to the supplied child. If the child is already correctly decorated then the child will be unchanged. Must be called in the context of aBulkChangethat covers the supplied child.- Parameters:
child- the child to decorate.listener- a listener to log any commentary to.
-
decorate
protected abstract void decorate(@NonNull MultiBranchProject<?, ?> child, @NonNull TaskListener listener) throws IOExceptionSPI for performing an idempotent application of this property's decoration to the supplied child. If the child is already correctly decorated then the child must be unchanged.- Parameters:
child- the child to decorate.listener- a listener to log any commentary to.- Throws:
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 aBulkChangecontains the child.
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<C extends OrganizationFolder>- Overrides:
getDescriptorin classcom.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C extends OrganizationFolder>
-