Interface SettingsPersister
-
- All Superinterfaces:
SettingsPersister
- All Known Implementing Classes:
SettingsPersisterImpl
@Deprecated public interface SettingsPersister extends SettingsPersister
Deprecated.useSettingsPersister
instead this class is deprecated and will be removed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PersistTaskEx
scheduleSaveDocument(String description, File file, org.jdom.Document document)
Deprecated.Schedules the task to save the document into the file.PersistTaskEx
scheduleSaveDocument(String description, FileWatcher fileWatcher, org.jdom.Document document)
Deprecated.Schedules the task to save the document into the file monitored by the file watcher.PersistTaskEx
scheduleSaveFile(String description, File file, byte[] content)
Deprecated.Schedules the task to save the byte content into the file monitored by the file watcher.PersistTaskEx
scheduleSaveFile(String description, FileWatcher fileWatcher, byte[] content)
Deprecated.Schedules the task to save the byte content into the file monitored by the file watcher.-
Methods inherited from interface jetbrains.buildServer.serverSide.SettingsPersister
abortTask, scheduleDeleteFile
-
-
-
-
Method Detail
-
scheduleSaveDocument
PersistTaskEx scheduleSaveDocument(@NotNull String description, @NotNull FileWatcher fileWatcher, @NotNull org.jdom.Document document) throws IOException
Deprecated.Description copied from interface:SettingsPersister
Schedules the task to save the document into the file monitored by the file watcher.- Specified by:
scheduleSaveDocument
in interfaceSettingsPersister
- Parameters:
description
- desciprition of the taskfileWatcher
- file watcher for the settings file, if settings file has configured file watcher. TeamCity will obtain real settings file from the file watcher viaFileWatcher.getFile()
method. TeamCity will imediatelly notify this file watcher about changes in file after persisting changes on disk.document
- XML document to be saved- Throws:
IOException
-
scheduleSaveDocument
PersistTaskEx scheduleSaveDocument(@NotNull String description, @NotNull File file, @NotNull org.jdom.Document document) throws IOException
Deprecated.Description copied from interface:SettingsPersister
Schedules the task to save the document into the file.- Specified by:
scheduleSaveDocument
in interfaceSettingsPersister
- Parameters:
description
- desciprition of the taskfile
- settings file to be changed, If the file has configured file watcher useSettingsPersister.scheduleSaveDocument(String, FileWatcher, Document)
insteaddocument
- XML document to be saved- Throws:
IOException
-
scheduleSaveFile
PersistTaskEx scheduleSaveFile(@NotNull String description, @NotNull FileWatcher fileWatcher, byte[] content) throws IOException
Deprecated.Description copied from interface:SettingsPersister
Schedules the task to save the byte content into the file monitored by the file watcher.- Specified by:
scheduleSaveFile
in interfaceSettingsPersister
- Parameters:
description
- desciprition of the taskfileWatcher
- file watcher for the settings file, if settings file has configured file watcher. TeamCity will obtain real settings file from the file watcher viaFileWatcher.getFile()
method. TeamCity will imediatelly notify this file watcher about changes in file after persisting changes on disk.content
- content of the file to be saved- Throws:
IOException
-
scheduleSaveFile
PersistTaskEx scheduleSaveFile(@NotNull String description, @NotNull File file, byte[] content) throws IOException
Deprecated.Description copied from interface:SettingsPersister
Schedules the task to save the byte content into the file monitored by the file watcher.- Specified by:
scheduleSaveFile
in interfaceSettingsPersister
- Parameters:
description
- desciprition of the taskfile
- settings file to be changed, If the file has configured file watcher useSettingsPersister.scheduleSaveFile(String, FileWatcher, byte[])
insteadcontent
- content of the file to be saved- Throws:
IOException
-
-