public class ServerExistsRequest extends AbstractOpenstackRequest<Boolean>
Server
exists.| Constructor and Description |
|---|
ServerExistsRequest(OSClientFactory clientFactory,
String serverId)
Creates a new
ServerExistsRequest. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getApiAccessConfig, getClientFactorypublic ServerExistsRequest(OSClientFactory clientFactory, String serverId)
ServerExistsRequest.clientFactory - OpenStack API client factory.serverId - The server whose existence is to be queried.public Boolean doRequest(org.openstack4j.api.OSClient api)
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<Boolean>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.Copyright © 2011–2016 elastisys. All rights reserved.