org.jclouds.savvis.vpdc.compute.functions
Class VMToNodeMetadata

java.lang.Object
  extended by org.jclouds.savvis.vpdc.compute.functions.VMToNodeMetadata
All Implemented Interfaces:
com.google.common.base.Function<VM,NodeMetadata>

@Singleton
public class VMToNodeMetadata
extends Object
implements com.google.common.base.Function<VM,NodeMetadata>

Author:
Adrian Cole

Nested Class Summary
static class VMToNodeMetadata.FindLocationForVM
           
 
Field Summary
static Map<VM.Status,NodeState> VAPPSTATUS_TO_NODESTATE
           
 
Method Summary
 NodeMetadata apply(VM from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

VAPPSTATUS_TO_NODESTATE

public static final Map<VM.Status,NodeState> VAPPSTATUS_TO_NODESTATE
Method Detail

apply

public NodeMetadata apply(VM from)
Specified by:
apply in interface com.google.common.base.Function<VM,NodeMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.