Interface PluginResource

All Superinterfaces:
ResourceQueryable
All Known Subinterfaces:
JVMPluginResource

public interface PluginResource extends ResourceQueryable
Represents a resource provided by a locator.
  • Method Details

    • locator

      String locator()
      Returns:
      The name of the service that located this resource
    • path

      Path path()
      Returns:
      The path where this resource originates from
    • property

      Optional<String> property(String key)
      Retrieve a property of this resource by key.

      Consult the vendor for expected keys.

      Parameters:
      key - The key
      Returns:
      The value or Optional.empty() if not found