Interface IV8FileFactory

  • All Known Implementing Classes:

    public interface IV8FileFactory
    The factory for IV8File handles.

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

    • Method Detail

      • 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.
        parent - the parent of the element (not null)
        file - the workspace file underlying the element (not null)
        the V8 file handle, or null if the arguments are valid, but the factory cannot create a handle due to its internal state
        IllegalArgumentException - if the factory cannot create a handle for the given arguments