Class TestSourceReadResource

java.lang.Object
io.cucumber.core.plugin.TestSourceReadResource
All Implemented Interfaces:
Resource

@Deprecated final class TestSourceReadResource extends Object implements Resource
Deprecated.
for removal, use messages + query.
Internal class, potentially still used by others.
See Also:
  • Field Details

  • Constructor Details

    • TestSourceReadResource

      TestSourceReadResource(TestSourceRead event)
      Deprecated.
  • Method Details

    • getUri

      public URI getUri()
      Deprecated.
      Description copied from interface: Resource
      Returns a uri representing this resource.

      Resources on the classpath will have the form classpath:com/example.feature while resources on the file system will have the form file:/path/to/example.feature. Other resources will be represented by their exact uri.

      Specified by:
      getUri in interface Resource
      Returns:
      a uri representing this resource
    • getInputStream

      public InputStream getInputStream()
      Deprecated.
      Specified by:
      getInputStream in interface Resource