Interface ProjectsPersister
-
- All Superinterfaces:
TasksPersister
- All Known Implementing Classes:
ProjectsPersisterImpl
public interface ProjectsPersister extends TasksPersister
This class is intended to schedule a tasks related to the changes in a project configuration among with theProjectPersistingHandler
.To modify a global settings, use the
SettingsPersister
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackgroundPersistTask
schedulePersistTask(ConfigAction cause)
PersistTaskEx
scheduleTask(String description, Runnable action)
Schedules a project configuration change related task.PersistTaskEx
scheduleTask(String description, Runnable action, boolean requiresWriteConfigsResponsibility)
-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.persisting.TasksPersister
abortTask, addTask, onServerShutdown, visitTasks, waitForTasksCompletion
-
-
-
-
Method Detail
-
scheduleTask
@NotNull PersistTaskEx scheduleTask(@NotNull String description, @NotNull Runnable action)
Schedules a project configuration change related task.This method is not preferred to use if you can do the change in another way, because we cannot persist Runnable and this lead to difficulties with doing the changes from different nodes.
-
scheduleTask
@NotNull PersistTaskEx scheduleTask(@NotNull String description, @NotNull Runnable action, boolean requiresWriteConfigsResponsibility)
-
schedulePersistTask
@NotNull BackgroundPersistTask schedulePersistTask(@NotNull ConfigAction cause)
-
-