Interface ApplicationAssetLoader

All Known Subinterfaces:
GitApplicationAssetLoader
All Known Implementing Classes:
FilesystemGitApplicationAssetLoader, TestApplicationAssetLoader

public interface ApplicationAssetLoader
Loads the assets for a particular application as defined by the ApplicationId.
  • Field Details

    • ELEMENT_STORAGE

      static final String ELEMENT_STORAGE
      The name of the configuration variable for the script storage directory.
      See Also:
  • Method Details

    • getAssetPath

      default Path getAssetPath(String applicationIdString)
      Parameters:
      applicationIdString - the application id string
      Returns:
      the asset path
    • getAssetPath

      Path getAssetPath(ApplicationId applicationId)
      Gets the asset Path for the supplied ApplicationId, performing any loading as needed. The returned Path will be a location on disk from which to load the application's executable code.
      Parameters:
      applicationId - the ApplicationId instance
      Returns:
      the Path to the loaded asset