Class ChangelogServiceImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.ChangelogServiceImpl
- All Implemented Interfaces:
ChangelogService
-
Nested Class Summary
-
Field Summary
Fields inherited from interface ch.tocco.nice2.dbrefactoring.api.ChangelogService
MODULE_RESOURCE_SUBDIR
-
Constructor Summary
ConstructorDescriptionChangelogServiceImpl
(org.slf4j.Logger log, ModuleManager moduleManager, PostProcessor postProcessor) -
Method Summary
Modifier and TypeMethodDescription@Nullable ModelResource
getChangelogResourceRoot
(AppModule module) Returns the resource root for the given module that contains all the db changelog files.getCompleteChangelog
(ChangelogRequest request) Returns the complete changelog that is consolidated from the modules' changelog files according to the request.Reads a changelog xml from the specified input stream.
-
Constructor Details
-
ChangelogServiceImpl
public ChangelogServiceImpl(org.slf4j.Logger log, ModuleManager moduleManager, PostProcessor postProcessor)
-
-
Method Details
-
getCompleteChangelog
public ChangelogResponse getCompleteChangelog(ChangelogRequest request) throws DbRefactoringException Description copied from interface:ChangelogService
Returns the complete changelog that is consolidated from the modules' changelog files according to the request.- Specified by:
getCompleteChangelog
in interfaceChangelogService
- Throws:
DbRefactoringException
-
getChangelogResourceRoot
Description copied from interface:ChangelogService
Returns the resource root for the given module that contains all the db changelog files.- Specified by:
getChangelogResourceRoot
in interfaceChangelogService
-
readChangelog
Description copied from interface:ChangelogService
Reads a changelog xml from the specified input stream.- Specified by:
readChangelog
in interfaceChangelogService
- Throws:
DbRefactoringException
-