ISpoofaxProjectConfigService

public interface ISpoofaxProjectConfigService extends IProjectConfigService

Stores and retrieves language component configurations.

Methods

available

boolean available(FileObject rootFolder)

Checks if a configuration exists for the project at the given location.

Parameters:
  • rootFolder – The project root folder.
Returns:

True if a configuration exists, false otherwise.

get

ConfigRequest<ISpoofaxProjectConfig> get(FileObject rootFolder)

Gets the configuration for the project at the given location.

Parameters:
  • rootFolder – The project root folder.
Returns:

Configuration request, either with a valid configuration, or a collection of error messages.

get

ISpoofaxProjectConfig get(IProject project)

Gets the configuration for the given project.

Parameters:
  • project – The project.
Returns:

The configuration, or null.