StrategoRuntimeFacet

public class StrategoRuntimeFacet implements IFacet

Represents the Stratego runtime facet of a language.

Fields

ctreeFiles

public final Iterable<FileObject> ctreeFiles

jarFiles

public final Iterable<FileObject> jarFiles

Constructors

StrategoRuntimeFacet

public StrategoRuntimeFacet(Iterable<FileObject> ctreeFiles, Iterable<FileObject> jarFiles)

Methods

available

public Iterable<String> available(IResourceService resourceService)

Checks if all CTree and JAR files exist, returns errors if not.

Throws:
  • IOException – When a file operation fails.
Returns:

Errors, or empty if there are no errors.