Interface IV8FileFactory

All Known Implementing Classes:
BslFileFactory, DcsFileFactory, QlDcsFileFactory, QlFileFactory, RightTemplatesFileFactory

public interface IV8FileFactory
The factory for IV8File handles.

This interface is intended to be implemented by clients. Implementations must be thread-safe.

  • Method Summary

    Modifier and Type
    Method
    Description
    getV8File(V8ProjectHandle parent, org.eclipse.core.resources.IFile file)
    Returns a handle for a V8 file with the given parent element and the given underlying workspace file.
  • Method Details

    • getV8File

      IV8File getV8File(V8ProjectHandle parent, org.eclipse.core.resources.IFile file)
      Returns a handle for a V8 file with the given parent element and the given underlying workspace file.
      Parameters:
      parent - the parent of the element (not null)
      file - the workspace file underlying the element (not null)
      Returns:
      the V8 file handle, or null if the arguments are valid, but the factory cannot create a handle due to its internal state
      Throws:
      IllegalArgumentException - if the factory cannot create a handle for the given arguments