public interface ProjectConvertor
ProjectConvertor.Registration annotation.
For the folder accepted by the ProjectConvertor an artifical in memory
project is created causing the folder looks like a regular Project in the UI.
The folder is converted into a regular Project when the artificial Project
is opened.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ProjectConvertor.Registration
Registers a
ProjectConvertor for given pattern. |
static class |
ProjectConvertor.Result
The result of project check.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectConvertor.Result |
isProject(FileObject projectDirectory)
Checks if given folder can be converted into a
Project. |
@CheckForNull ProjectConvertor.Result isProject(@NonNull FileObject projectDirectory)
Project.
Called only for folders accepted by the ProjectConvertor.Registration.requiredPattern().projectDirectory - the folder to checkProjectConvertor.Result if the folder can be
converted to a Project or null.