Interface ConverterChangesStorage
-
- All Known Implementing Classes:
ConverterChangesStorageImpl
public interface ConverterChangesStorageStores information about entities & files in a project affected by converters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConvertedFiles(List<ConvertedFilesReportEx> reports)Adds new information about files affected by convertersList<ConverterChangesReport>getConverterChanges(SProject project)Returns changes made by converters to the specified projectbooleanhasConvertedFiles(SProject project)Returns true if the specified project or any of its transitive subprojects with same versioned settings has files which were affected by converters, but not committed to VCS yet, otherwise returns false.voidresetConverterChanges(SProject project)Resets changes made by converters in the specified project and all its subprojects with same versioned settings recursively
-
-
-
Method Detail
-
addConvertedFiles
void addConvertedFiles(@NotNull List<ConvertedFilesReportEx> reports) throws IOExceptionAdds new information about files affected by converters- Parameters:
reports- converted files data- Throws:
IOException
-
getConverterChanges
@NotNull List<ConverterChangesReport> getConverterChanges(@NotNull SProject project)
Returns changes made by converters to the specified project- Parameters:
project- project of interest- Returns:
- see above
-
resetConverterChanges
void resetConverterChanges(@NotNull SProject project)Resets changes made by converters in the specified project and all its subprojects with same versioned settings recursively- Parameters:
project- project of interest
-
hasConvertedFiles
boolean hasConvertedFiles(@NotNull SProject project)Returns true if the specified project or any of its transitive subprojects with same versioned settings has files which were affected by converters, but not committed to VCS yet, otherwise returns false. Returns false if the specified project doesn't have versioned settings enabled.- Parameters:
project- project of interest- Returns:
- see above
-
-