Class OptionalSourceFallbackExtensionPoint

All Implemented Interfaces:
LogEnabled, ExtensionPoint<OptionalSourceFallback>, Disposable, Initializable, Component, Contextualizable, Serviceable, ThreadSafe

Extension point for optional source fallback
  • Field Details

    • ROLE

      public static final String ROLE
      Avalon role
  • Constructor Details

  • Method Details

    • fallback

      public String fallback(String uri)
      Fallback to a default value if the uri is not supported
      Parameters:
      uri - The uri that is not supported
      Returns:
      The fallback url if any or null otherwise