Package com.google.caliper.bridge
Class StartVmRequest
- java.lang.Object
-
- com.google.caliper.bridge.StartVmRequest
-
- All Implemented Interfaces:
Serializable
public abstract class StartVmRequest extends Object implements Serializable
A request to send to a process running on a device to tell it to run a given command to start a VM.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.common.collect.ImmutableList<String>command()Returns the command to run.static StartVmRequestcreate(UUID vmId, Iterable<String> command)Creates a newStartVmRequest.abstract UUIDstderrId()Returns the UUID that identifies the VM process's stderr stream.abstract UUIDstdoutId()Returns the UUID that identifies the VM process's stdout stream.abstract UUIDvmId()Returns the UUID that identifies the VM process.
-
-
-
Method Detail
-
create
public static StartVmRequest create(UUID vmId, Iterable<String> command)
Creates a newStartVmRequest.
-
vmId
public abstract UUID vmId()
Returns the UUID that identifies the VM process.
-
command
public abstract com.google.common.collect.ImmutableList<String> command()
Returns the command to run.
-
stdoutId
public abstract UUID stdoutId()
Returns the UUID that identifies the VM process's stdout stream.
-
stderrId
public abstract UUID stderrId()
Returns the UUID that identifies the VM process's stderr stream.
-
-