@Singleton public class VirtualMachineToNodeMetadata extends Object implements com.google.common.base.Function<VirtualMachine,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
static Map<VirtualMachine.State,NodeMetadata.Status> |
vmStateToNodeStatus |
public static final Map<VirtualMachine.State,NodeMetadata.Status> vmStateToNodeStatus
public NodeMetadata apply(VirtualMachine from)
apply
in interface com.google.common.base.Function<VirtualMachine,NodeMetadata>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.