java.lang.Object
org.eclipse.lsp4j.debug.Source
io.quarkus.qute.debug.agent.source.RemoteSource
io.quarkus.qute.debug.agent.source.FileSource
- Direct Known Subclasses:
JavaFileSource
A
RemoteSource representing a Qute template stored as a local file.
This implementation is used when the template resides directly on the file
system (as opposed to being embedded inside a JAR). It sets the DAP
path field so that the client can open and display the file.
Example:
file:///home/user/project/src/main/resources/templates/index.html
-
Constructor Summary
ConstructorsModifierConstructorDescriptionFileSource(URI uri, String templateId) protectedFileSource(URI uri, String templateId, int startLine) Creates a newFileSourcefor a Qute template located on the local filesystem. -
Method Summary
Methods inherited from class io.quarkus.qute.debug.agent.source.RemoteSource
computeName, getStartLine, getTemplateId, getUriMethods inherited from class org.eclipse.lsp4j.debug.Source
equals, getAdapterData, getChecksums, getName, getOrigin, getPath, getPresentationHint, getSourceReference, getSources, hashCode, setAdapterData, setChecksums, setName, setOrigin, setPath, setPresentationHint, setSourceReference, setSources, toString
-
Constructor Details
-
FileSource
-
FileSource
Creates a newFileSourcefor a Qute template located on the local filesystem.- Parameters:
uri- the URI of the template file (must use thefile:scheme)templateId- the Qute template identifier
-