public class SenlinNodeServiceImpl extends BaseSenlinServices implements SenlinNodeService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
SenlinNodeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ActionID |
action(String nodeID,
NodeActionCreate newNodeAction)
Service implementation which provides methods for manipulation of action
|
Node |
create(NodeCreate newNode)
|
ActionResponse |
delete(String nodeID)
Deletes the specified
Node from the server. |
Node |
get(String nodeID)
returns details of a
Node. |
Node |
get(String nodeID,
boolean showDetails)
returns details of a
Node |
List<? extends Node> |
list()
Gets a list of currently existing
Nodes. |
Node |
update(String nodeID,
NodeCreate newNode)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Node> list()
SenlinNodeServiceNodes.list in interface SenlinNodeServiceNodespublic Node create(NodeCreate newNode)
SenlinNodeServicecreate in interface SenlinNodeServicenewNode - NodeCreate object out of which node is to be createdNode as returned from the serverpublic Node get(String nodeID)
SenlinNodeServiceNode.get in interface SenlinNodeServicenodeID - Id of Nodepublic Node get(String nodeID, boolean showDetails)
SenlinNodeServiceNodeget in interface SenlinNodeServicenodeID - Id of NodeshowDetails - true to retrieve the properties about the physical object that backs the nodepublic ActionResponse delete(String nodeID)
SenlinNodeServiceNode from the server.delete in interface SenlinNodeServicenodeID - Id of Nodepublic Node update(String nodeID, NodeCreate newNode)
SenlinNodeServiceupdate in interface SenlinNodeServicenodeID - Id of NodenewNode - NodeCreate object out of which stack is to be updateNode as returned from the serverpublic ActionID action(String nodeID, NodeActionCreate newNodeAction)
SenlinNodeServiceaction in interface SenlinNodeServiceCopyright © 2017. All rights reserved.