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.
  • 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 a BulkChange that 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 IOException
      SPI 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 a BulkChange contains the child.
    • getDescriptor

      public OrganizationFolderPropertyDescriptor getDescriptor()
      Specified by:
      getDescriptor in interface Describable<C extends OrganizationFolder>
      Overrides:
      getDescriptor in class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C extends OrganizationFolder>