Interface ResourceChangeTracker

    • Method Detail

      • trackResource

        long trackResource​(Resource resource)
        Start tracking the resource (or return the last modified time of an already tracked resource). Only file system resources are tracked. Resources are tracked until any resource changes, at which points listeners are notified and the internal state is cleared.
        Parameters:
        resource - to track
        Returns:
        last modified time, to nearest second
        See Also:
        URLChangeTracker
      • setCurrentClassName

        void setCurrentClassName​(java.lang.String className)
        Informs this service that the resources being loaded are associated with a given Tapestry component (i.e. component, page, mixin and base) component class.
        Parameters:
        className - The fully classified class name of the component or page associated with the current resources being processed.
        Since:
        5.8.3
      • clearCurrentClassName

        void clearCurrentClassName()
        Informs this service that no component class is associated with the resources being loaded.
        Since:
        5.8.3