ISimpleProjectService

public interface ISimpleProjectService extends IProjectService

Specialization of the IProjectService that supports creating and removing projects. Project instances are returned based on the file names of projects and resources. Nested projects are not supported.

Methods

create

IProject create(FileObject location)

Creates a project at given location.

Throws:
  • MetaborgException – When a project already exists at given location, or when given location is nested in another project.
Returns:

Created project.

remove

void remove(IProject project)

Removes given project.

Parameters:
  • project – Project to remove.
Throws: