public class StatusToMachineState extends Object implements java.util.function.Function<org.openstack4j.model.compute.Server.Status,MachineState>
Function that takes a Server status and converts it to the
corresponding MachineState.
For additional details refer to the OpenStack
documentation| Constructor and Description |
|---|
StatusToMachineState() |
| Modifier and Type | Method and Description |
|---|---|
MachineState |
apply(org.openstack4j.model.compute.Server.Status state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identitypublic MachineState apply(org.openstack4j.model.compute.Server.Status state)
apply in interface java.util.function.Function<org.openstack4j.model.compute.Server.Status,MachineState>Copyright © 2011–2017 Elastisys. All rights reserved.