| Package | Description |
|---|---|
| com.elastisys.scale.cloudpool.api.types |
| Modifier and Type | Method and Description |
|---|---|
MachineState |
Machine.MachineStateExtractor.apply(Machine machine)
Extracts the state of a
Machine. |
MachineState |
Machine.getMachineState()
Returns the execution state of the
Machine. |
static MachineState |
MachineState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineState[] |
MachineState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Function<? super Machine,MachineState> |
Machine.toState()
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<? super Machine> |
Machine.inState(MachineState state)
|
Machine.Builder |
Machine.Builder.machineState(MachineState machineState)
Sets the
MachineState for the Machine being built. |
void |
Machine.setMachineState(MachineState machineState)
Sets the execution state of the
Machine. |
| Constructor and Description |
|---|
Machine(String id,
MachineState machineState,
MembershipStatus membershipStatus,
ServiceState serviceState,
String cloudProvider,
String region,
String machineSize,
org.joda.time.DateTime requestTime,
org.joda.time.DateTime launchTime,
List<String> publicIps,
List<String> privateIps,
com.google.gson.JsonElement metadata)
Constructs a new
Machine. |
MachineWithState(MachineState state) |
Copyright © 2011–2017 Elastisys. All rights reserved.