ComponentFactoryRequest¶
-
public class
ComponentFactoryRequest
implements IComponentCreationConfigRequest¶
Constructors¶
ComponentFactoryRequest¶
-
public
ComponentFactoryRequest
(FileObject location, ILanguageComponentConfig config, IStrategoAppl esvTerm, SyntaxFacet syntaxFacet, StrategoRuntimeFacet strategoRuntimeFacet)¶ Initializes a new instance for a successful request.
Parameters: - location – The location of the language component.
- config – The configuration of the language component.
- esvTerm – The ESV term.
- syntaxFacet – The syntax facet.
- strategoRuntimeFacet – The Stratego runtime facet.
ComponentFactoryRequest¶
-
public
ComponentFactoryRequest
(FileObject location, Collection<String> errors, Collection<Throwable> exceptions)¶ Initializes a new instance for a failed request.
Parameters: - location – The location of the language component.
- errors – The error messages that were raised during the request.
- exceptions – The exceptions that were raised during the request.
ComponentFactoryRequest¶
-
public
ComponentFactoryRequest
(FileObject location, Collection<String> errors)¶ Initializes a new instance for a failed request.
Parameters: - location – The location of the language component.
- errors – The error messages that were raised during the request.
ComponentFactoryRequest¶
-
public
ComponentFactoryRequest
(FileObject location, String error)¶ Initializes a new instance for a failed request.
Parameters: - location – The location of the language component.
- error – The error message that was raised during the request.
ComponentFactoryRequest¶
-
public
ComponentFactoryRequest
(FileObject location, Throwable exception)¶ Initializes a new instance for a failed request.
Parameters: - location – The location of the language component.
- exception – The exception that was raised during the request.
Methods¶
config¶
-
public ILanguageComponentConfig
config
()¶
errors¶
-
public Collection<String>
errors
()¶
esvTerm¶
-
public IStrategoAppl
esvTerm
()¶ Gets the ESV term.
Returns: The ESV term; or null
when there is no ESV term.
exceptions¶
-
public Collection<Throwable>
exceptions
()¶
location¶
-
public FileObject
location
()¶
strategoRuntimeFacet¶
-
public StrategoRuntimeFacet
strategoRuntimeFacet
()¶ Gets the Stratego runtime facet.
Returns: The Stratego runtime facet; or null
when there is no Stratego runtime facet.
syntaxFacet¶
-
public SyntaxFacet
syntaxFacet
()¶ Gets the syntax facet.
Returns: The syntax facet; or null
when there is no Syntax facet.