Package ubic.gemma.core.analysis.service
Class ExpressionMetadataChangelogFileServiceImpl
java.lang.Object
ubic.gemma.core.analysis.service.ExpressionMetadataChangelogFileServiceImpl
- All Implemented Interfaces:
ExpressionMetadataChangelogFileService
@Service
public class ExpressionMetadataChangelogFileServiceImpl
extends Object
implements ExpressionMetadataChangelogFileService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry) voidaddChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry, LocalDate date) Add a changelog entry to the changelog file of the given experiment.readChangelog(ExpressionExperiment expressionExperiment) Read the content of the changelog file of the given experiment.
-
Constructor Details
-
ExpressionMetadataChangelogFileServiceImpl
public ExpressionMetadataChangelogFileServiceImpl()
-
-
Method Details
-
readChangelog
Description copied from interface:ExpressionMetadataChangelogFileServiceRead the content of the changelog file of the given experiment.If no changelog file is found, an empty string is returned.
- Specified by:
readChangelogin interfaceExpressionMetadataChangelogFileService- Throws:
IOException
-
addChangelogEntry
public void addChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry) throws IOException - Specified by:
addChangelogEntryin interfaceExpressionMetadataChangelogFileService- Throws:
IOException- See Also:
-
addChangelogEntry
public void addChangelogEntry(ExpressionExperiment expressionExperiment, String changelogEntry, LocalDate date) throws IOException Description copied from interface:ExpressionMetadataChangelogFileServiceAdd a changelog entry to the changelog file of the given experiment.- Specified by:
addChangelogEntryin interfaceExpressionMetadataChangelogFileService- Parameters:
expressionExperiment- the experiment to add the entry tochangelogEntry- the content of the entry, the date and author are automatically addeddate- the date of the entry. This is a local date because the changelog format does not include a timezone.- Throws:
IOException
-