Package com.wavefront.api.agent
Class ShellOutputDTO
- java.lang.Object
-
- com.wavefront.api.agent.ShellOutputDTO
-
- All Implemented Interfaces:
Serializable
public class ShellOutputDTO extends Object implements Serializable
A POJO representing the shell output from running commands in a work unit. TheDefaultvalidation group is intended for submission from the daemon to the server.- Author:
- Clement Pang (clement@wavefront.com).
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description org.joda.time.InstantcommandEndTimeorg.joda.time.InstantcommandStartTimeStringcustomerIdFilled-in by the server.IntegerexitCodeUUIDidUUIDmachineIdComputed by the server.Stringoutputorg.joda.time.InstantserverTimeFilled-in by the server.UUIDsshDaemonIdUUIDtargetIdUUIDworkUnitId
-
Constructor Summary
Constructors Constructor Description ShellOutputDTO()
-
-
-
Field Detail
-
id
@NotNull public UUID id
-
targetId
@NotNull public UUID targetId
-
machineId
@Null(groups=javax.validation.groups.Default.class) public UUID machineId
Computed by the server.
-
workUnitId
@NotNull public UUID workUnitId
-
sshDaemonId
@NotNull public UUID sshDaemonId
-
output
@NotNull public String output
-
exitCode
@NotNull public Integer exitCode
-
commandStartTime
@NotNull public org.joda.time.Instant commandStartTime
-
commandEndTime
@NotNull public org.joda.time.Instant commandEndTime
-
serverTime
@Null(groups=javax.validation.groups.Default.class) public org.joda.time.Instant serverTime
Filled-in by the server.
-
customerId
@Null(groups=javax.validation.groups.Default.class) public String customerId
Filled-in by the server.
-
-