Interface CustomResourceAction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @ConsumerType
    public interface CustomResourceAction
    Functional interface to define custom action on content upgrade.
    Author:
    Roland Gruber
    • Method Detail

      • doAction

        String doAction​(org.apache.sling.api.resource.Resource resource)
        Performs the provided action on the resource.
        Parameters:
        resource - resource
        Returns:
        log output