IComponentCreationConfigRequest

public interface IComponentCreationConfigRequest extends ILanguageDiscoveryRequest

Request for creating a ComponentCreationConfig.

Methods

available

boolean available()

See also: .valid()

config

ILanguageComponentConfig config()
Returns:Language component configuration; or null when not available.

errors

Collection<String> errors()

Gets the errors produced during the creation of this request. The resulting collection is empty when valid() is true.

Returns:Produced error messages.

exceptions

Collection<Throwable> exceptions()

Gets the exceptions thrown during the creation of this request. The resulting collection is empty when valid() is true.

Returns:Thrown exceptions.

location

FileObject location()
Returns:Location of the request.

valid

boolean valid()

Gets whether a language component can be constructed from this request. A request is valid when all required files exist, such as the parse table and JAR files, and all configuration files are valid.

Returns:true when a request is valid, false otherwise.