public class NodeConfigurationImpl extends Object implements NodeConfiguration
| Constructor and Description |
|---|
NodeConfigurationImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.bonitasoft.engine.commons.PlatformLifecycleService> |
getLifecycleServices() |
List<org.bonitasoft.engine.commons.RestartHandler> |
getRestartHandlers()
Handlers called on restart of the platform
|
List<TenantRestartHandler> |
getTenantRestartHandlers() |
void |
setLifecycleServices(List<org.bonitasoft.engine.commons.PlatformLifecycleService> lifecycleServices) |
void |
setRestartHandlers(List<org.bonitasoft.engine.commons.RestartHandler> restartHandlers) |
void |
setShouldRestartElements(boolean shouldRestartElements) |
void |
setShouldStartEventHandlingJob(boolean shouldStartEventHandlingJob) |
void |
setShouldStartScheduler(boolean shouldStartScheduler) |
void |
setTenantRestartHandlers(List<TenantRestartHandler> tenantRestartHandlers) |
boolean |
shouldClearSessions() |
boolean |
shouldResumeElements()
specify if we should resume unfinished elements when the node is started
|
boolean |
shouldStartEventHandlingJob() |
boolean |
shouldStartScheduler()
specify if the scheduler should start on this node
|
public boolean shouldStartScheduler()
NodeConfigurationshouldStartScheduler in interface NodeConfigurationpublic boolean shouldResumeElements()
NodeConfigurationshouldResumeElements in interface NodeConfigurationpublic List<org.bonitasoft.engine.commons.RestartHandler> getRestartHandlers()
NodeConfigurationgetRestartHandlers in interface NodeConfigurationpublic void setRestartHandlers(List<org.bonitasoft.engine.commons.RestartHandler> restartHandlers)
public List<TenantRestartHandler> getTenantRestartHandlers()
getTenantRestartHandlers in interface NodeConfigurationpublic void setTenantRestartHandlers(List<TenantRestartHandler> tenantRestartHandlers)
public boolean shouldStartEventHandlingJob()
shouldStartEventHandlingJob in interface NodeConfigurationpublic void setShouldStartScheduler(boolean shouldStartScheduler)
public void setShouldRestartElements(boolean shouldRestartElements)
public void setShouldStartEventHandlingJob(boolean shouldStartEventHandlingJob)
public boolean shouldClearSessions()
shouldClearSessions in interface NodeConfigurationpublic List<org.bonitasoft.engine.commons.PlatformLifecycleService> getLifecycleServices()
getLifecycleServices in interface NodeConfigurationpublic void setLifecycleServices(List<org.bonitasoft.engine.commons.PlatformLifecycleService> lifecycleServices)
Copyright © 2014 Bonitasoft S.A.. All rights reserved.