public class NodeStateResource extends Object
Constructor and Description |
---|
NodeStateResource(JiraAuthenticationContext authenticationContext,
NodeStateService nodeStateService) |
Modifier and Type | Method and Description |
---|---|
boolean |
getState()
Gets the state of this Jira node.
|
javax.ws.rs.core.Response |
setState(boolean active)
Sets the state of this Jira node.
|
public NodeStateResource(JiraAuthenticationContext authenticationContext, NodeStateService nodeStateService)
public boolean getState()
public javax.ws.rs.core.Response setState(boolean active)
active
- the desired state of this instanceCopyright © 2002-2022 Atlassian. All Rights Reserved.