Class ServerToNodeMetadata
- java.lang.Object
-
- org.jclouds.servermanager.compute.functions.ServerToNodeMetadata
-
- All Implemented Interfaces:
com.google.common.base.Function<Server,NodeMetadata>
,Function<Server,NodeMetadata>
@Singleton public class ServerToNodeMetadata extends Object implements com.google.common.base.Function<Server,NodeMetadata>
-
-
Field Summary
Fields Modifier and Type Field Description static Map<Server.Status,NodeMetadata.Status>
serverStatusToNodeStatus
-
-
-
Field Detail
-
serverStatusToNodeStatus
public static final Map<Server.Status,NodeMetadata.Status> serverStatusToNodeStatus
-
-
Method Detail
-
apply
public NodeMetadata apply(Server from)
- Specified by:
apply
in interfacecom.google.common.base.Function<Server,NodeMetadata>
- Specified by:
apply
in interfaceFunction<Server,NodeMetadata>
-
-