Interface ResourceRepository

  • All Known Subinterfaces:
    Skin

    public interface ResourceRepository
    Since:
    7.0M1
    Version:
    $Id: e94480422ba8127e9968e52e0ec4b43a25af39c9 $
    • Method Detail

      • getParent

        ResourceRepository getParent()
        Returns:
        the parent of the resource repository used to fallback
      • getId

        String getId()
        Returns:
        the identifier of the repository
      • getResource

        Resource<?> getResource​(String resourceName)
        Get the resource associated to the provided name. If none is found in the resource repository fallback on parent repository.
        Parameters:
        resourceName - the name of the resource to search
        Returns:
        the found resource, null if none could be found
      • getLocalResource

        Resource<?> getLocalResource​(String resourceName)
        Get the resource associated to the provided name. Does not fallback on parent repository.
        Parameters:
        resourceName - the name of the resource to search
        Returns:
        the found resource, null if none could be found