ParseResult

public final class ParseResult

The artifacts produced by : the same files, under the same names and with the same content, that the hosted service returns for the same request.

Functions

Link copied to clipboard
public final String getArtifact(String name)
Returns the content of an artifact, exactly as the run produced it.
Link copied to clipboard
public final Array<String> getArtifactNames()
The file names of the artifacts this run produced, sorted.
Link copied to clipboard
public final String getDocumentJson()
The content of document.json, or null when this run did not produce it.
Link copied to clipboard
public final String getDocumentMd()
The content of document.md, or null when this run did not produce it.
Link copied to clipboard
public final boolean hasArtifact(String name)
Whether this run produced an artifact with the given file name.
Link copied to clipboard
public final void saveTo(String directory)
Writes every artifact into a directory under its own file name, creating the directory when needed and replacing files that already exist.