public class NodeApi extends Object
Constructor and Description |
---|
NodeApi() |
Modifier and Type | Method and Description |
---|---|
void |
add(Node node) |
void |
deleteIds(List<Integer> ids) |
void |
eraseConfig(List<Integer> ids) |
void |
executeNodeInfoUpdate(List<Integer> ids) |
Node |
get(HashMap<String,Object> filters) |
Node |
get(int id) |
QueryResponse |
getAll(HashMap<String,Object> filters) |
void |
reboot(List<Integer> ids) |
void |
update(Node node) |
void |
uploadFirmware(List<Integer> ids) |
public QueryResponse getAll(HashMap<String,Object> filters)
public Node get(int id)
public void update(Node node) throws McDuplicateException, McBadRequestException
public void add(Node node) throws McDuplicateException
McDuplicateException
public void reboot(List<Integer> ids) throws McBadRequestException
McBadRequestException
public void uploadFirmware(List<Integer> ids) throws McBadRequestException
McBadRequestException
public void eraseConfig(List<Integer> ids) throws McBadRequestException
McBadRequestException
public void executeNodeInfoUpdate(List<Integer> ids) throws McBadRequestException
McBadRequestException
Copyright © 2015–2019. All rights reserved.