Class OrganizationFolderProperty<C extends OrganizationFolder>

    • Constructor Detail

      • OrganizationFolderProperty

        public OrganizationFolderProperty()
    • Method Detail

      • 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.