@ExperimentalApi public final class ClusterResource extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
METHOD_NOT_ALLOWED  | 
| Constructor and Description | 
|---|
ClusterResource(ClusterManager clusterManager,
               JiraAuthenticationContext jiraAuthenticationContext,
               GlobalPermissionManager globalPermissionManager,
               I18nHelper i18n,
               com.atlassian.event.api.EventPublisher eventPublisher)  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.ws.rs.core.Response | 
changeNodeStateToOffline(String nodeId)
Change the node's state to offline if the node is reporting as active, but is not alive. 
 | 
javax.ws.rs.core.Response | 
deleteNode(String nodeId)
Delete the node from the cluster if state of node is OFFLINE. 
 | 
javax.ws.rs.core.Response | 
getAllNodes()  | 
public static final int METHOD_NOT_ALLOWED
public ClusterResource(ClusterManager clusterManager, JiraAuthenticationContext jiraAuthenticationContext, GlobalPermissionManager globalPermissionManager, I18nHelper i18n, com.atlassian.event.api.EventPublisher eventPublisher)
public javax.ws.rs.core.Response getAllNodes()
public javax.ws.rs.core.Response deleteNode(String nodeId)
public javax.ws.rs.core.Response changeNodeStateToOffline(String nodeId)
Copyright © 2002-2019 Atlassian. All Rights Reserved.