Class DisableTask
- java.lang.Object
-
- com.atlassian.core.task.longrunning.AbstractLongRunningTask
-
- com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
-
- com.atlassian.confluence.plugins.synchrony.tasks.AbstractConfigLongRunningTask
-
- com.atlassian.confluence.plugins.synchrony.tasks.DisableTask
-
- All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask
,Runnable
public class DisableTask extends AbstractConfigLongRunningTask
Disables collaborative editing and turns off the Synchrony process (if internally managed)- Since:
- 6.0.1
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugins.synchrony.tasks.AbstractConfigLongRunningTask
cacheManager, configManager, eventPublisher, log, processManager, processMonitor
-
-
Constructor Summary
Constructors Constructor Description DisableTask(com.atlassian.confluence.plugins.synchrony.config.SynchronyConfigurationManager configManager, SynchronyProcessManager processManager, SynchronyMonitor processMonitor, com.atlassian.cache.CacheManager cacheManager, SynchronyConfigTaskTracker taskTracker, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.event.api.EventPublisher eventPublisher, CollaborativeEditingModeDuration collaborativeEditingModeDuration, SynchronyDataService synchronyDataService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute()
String
getName()
-
Methods inherited from class com.atlassian.confluence.plugins.synchrony.tasks.AbstractConfigLongRunningTask
runInternal
-
Methods inherited from class com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
getResourceBundle, run
-
-
-
-
Constructor Detail
-
DisableTask
public DisableTask(com.atlassian.confluence.plugins.synchrony.config.SynchronyConfigurationManager configManager, SynchronyProcessManager processManager, SynchronyMonitor processMonitor, com.atlassian.cache.CacheManager cacheManager, SynchronyConfigTaskTracker taskTracker, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.event.api.EventPublisher eventPublisher, CollaborativeEditingModeDuration collaborativeEditingModeDuration, SynchronyDataService synchronyDataService)
-
-
Method Detail
-
execute
protected void execute() throws com.atlassian.config.ConfigurationException
- Specified by:
execute
in classAbstractConfigLongRunningTask
- Throws:
com.atlassian.config.ConfigurationException
-
getName
public String getName()
-
-