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