public class ServerToMachine extends Object implements com.google.common.base.Function<org.jclouds.openstack.nova.v2_0.domain.Server,Machine>
Server from the OpenStack API to its Machine
counterpart.| Constructor and Description |
|---|
ServerToMachine() |
| Modifier and Type | Method and Description |
|---|---|
Machine |
apply(org.jclouds.openstack.nova.v2_0.domain.Server server)
Converts a
Server from the OpenStack API to its Machine
representation. |
static Machine |
convert(org.jclouds.openstack.nova.v2_0.domain.Server server)
Converts a
Server to its Machine representation. |
public static Machine convert(org.jclouds.openstack.nova.v2_0.domain.Server server)
Server to its Machine representation.server - Copyright © 2011–2015 elastisys. All rights reserved.