public interface ExternalSystemAutoImportAware
registered project's
config files
are processed by default. However, there is a possible case
that there are other auxiliary config files/directories which modification should trigger external project refresh. This interface
is supposed to handle that situation, i.e. any external system implementation
which requires
the functionality described above should implement this interface.Modifier and Type | Method and Description |
---|---|
default java.util.List<java.io.File> |
getAffectedExternalProjectFiles(java.lang.String projectPath,
Project project) |
java.lang.String |
getAffectedExternalProjectPath(java.lang.String changedFileOrDirPath,
Project project)
This method serves to check if particular file/dir change should trigger external project refresh.
|
java.lang.String getAffectedExternalProjectPath(java.lang.String changedFileOrDirPath, Project project)
external project config files
known to the ide as that functionality is built-in. Only auxiliary files should be processed.
Note2: this method is assume to be called rather often, that's why it's very important to return from it quickly.
Caching and simple check algorithms are welcomed.changedFileOrDirPath
- changed file/dir pathproject
- current projectnull
if target change should not trigger external project refresh;
path to config file of an external project which should be refresheddefault java.util.List<java.io.File> getAffectedExternalProjectFiles(java.lang.String projectPath, Project project)