Class StateToStatus
- java.lang.Object
-
- org.jclouds.docker.compute.functions.StateToStatus
-
- All Implemented Interfaces:
com.google.common.base.Function<State,NodeMetadata.Status>
,Function<State,NodeMetadata.Status>
@Singleton public class StateToStatus extends Object implements com.google.common.base.Function<State,NodeMetadata.Status>
Transforms anContainer
to the jclouds portable model.
-
-
Constructor Summary
Constructors Constructor Description StateToStatus()
-
-
-
Method Detail
-
apply
public NodeMetadata.Status apply(State state)
- Specified by:
apply
in interfacecom.google.common.base.Function<State,NodeMetadata.Status>
- Specified by:
apply
in interfaceFunction<State,NodeMetadata.Status>
-
-