Class ToggleableHealthProcessorPlugin

    • Constructor Detail

      • ToggleableHealthProcessorPlugin

        public ToggleableHealthProcessorPlugin()
    • Method Detail

      • getLogger

        protected Logger getLogger()
      • process

        @Nonnull
        public final Set<NodeHealthReport> process​(Set<org.alfresco.service.cmr.repository.NodeRef> nodeRefs)
        Description copied from interface: HealthProcessorPlugin
        Process a batch of nodes. Each execution will be wrapped in a new transaction by the Health-Processor.
        Specified by:
        process in interface HealthProcessorPlugin
        Parameters:
        nodeRefs - the batch of NodeRefs to process
        Returns:
        is is not mandatory to return anything. All returned reports will be offered to HealthReporter instances.
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: BaseExtension
        Whether this extension is enabled or not
        Specified by:
        isEnabled in interface BaseExtension
        Returns:
        Whether this extension is enabled or not
      • setEnabled

        public void setEnabled​(boolean enabled)