IProjectConfigService

public interface 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.

defaultConfig

IProjectConfig defaultConfig(FileObject rootFolder)

Gets the default configuration for the project at the given location.

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

Default project configuration.

get

ConfigRequest<? extends IProjectConfig> 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.